/**
 * CreateProjectPromotionQo
 */
export interface Request {
  /**
   * 管家账号id
   */
  accountId?: number | null;
  /**
   * 广告主id
   */
  advertiserIds: any[] | null;
  /**
   * 创意组对象
   */
  groupQos?: CreatePromotionGroupQo[] | null;
  /**
   * 素材-多账户分配规则
   * 1 全账户复用
   * 2 平均分配
   * 3 分账户选择
   */
  materialType?: null | string;
  /**
   * 项目参数
   */
  project?: CreateProjectV3Request;
  /**
   * 项目数量
   */
  projectNum?: number | null;
  /**
   * 广告参数
   */
  promotion?: CreatePromotionV3Request;
  /**
   * 字节小程序链接
   */
  urls?: CreatePromotionUrlQo[] | null;
  /**
   * 项目-微信小程序对象数组
   */
  wx?: CreatePromotionGroupQo[] | null;
  /**
   * 落地页
   */
  promotionMaterials?: PromotionCreateV30RequestPromotionMaterials;
  externalUrlMaterialList?: PromotionCreateV30RequestPromotionMaterials;
  anchorMaterialList?: any[] | null; // 锚点
  miniProgramInfo?: any;
  microAppInstanceList?: any[]; //小程序资产id
  titleWay?: '1' | '3';
  siteWay?: '1' | '2';
  [property: string]: any;
}

/**
 * CreatePromotionGroupQo
 */
export interface CreatePromotionGroupQo {
  /**
   * 素材类型为分账户选择-广告主id
   */
  advertiserId?: number | null;
  imageMaterialList?: PromotionCreateV30RequestPromotionMaterialsImageMaterialListInner[] | null;
  /**
   * 创意组名称
   */
  name?: null | string;
  /**
   * 视频/图片 对象
   * {
   * "imageMode": "VIDEO_VERTICAL",
   * "videoId": "v0d033g10000d12la8vog65vuc9perag",
   * "videoCoverId": "tos-cn-p-0051/oMAgxbVjA8UDVfNoN0VBAXO2VEIKEBFFuNFRfD",
   * "videoHpVisibility": "HIDE_VIDEO_ON_HP"
   * }
   */
  videoMaterialList?: PromotionCreateV30RequestPromotionMaterialsVideoMaterialListInner[] | null;
  [property: string]: any;
}

/**
 *
 * com.bytedance.ads.model.PromotionCreateV30RequestPromotionMaterialsImageMaterialListInner
 *
 * PromotionCreateV30RequestPromotionMaterialsImageMaterialListInner
 */
export interface PromotionCreateV30RequestPromotionMaterialsImageMaterialListInner {
  imageMode?: ImageMaterialListImageMode;
  images?: PromotionCreateV30RequestPromotionMaterialsImageMaterialListInnerImagesInner[] | null;
  [property: string]: any;
}

export enum ImageMaterialListImageMode {
  CreativeImageModeCalibrationFreeSingleImage = 'CREATIVE_IMAGE_MODE_CALIBRATION_FREE_SINGLE_IMAGE',
  CreativeImageModeLarge = 'CREATIVE_IMAGE_MODE_LARGE',
  CreativeImageModeLargeVertical = 'CREATIVE_IMAGE_MODE_LARGE_VERTICAL',
  CreativeImageModeSmall = 'CREATIVE_IMAGE_MODE_SMALL',
  CreativeImageModeUnionSplash = 'CREATIVE_IMAGE_MODE_UNION_SPLASH',
  SearchAdSmallImage = 'SEARCH_AD_SMALL_IMAGE',
  ToutiaoSearchAdImage = 'TOUTIAO_SEARCH_AD_IMAGE'
}

/**
 *
 * com.bytedance.ads.model.PromotionCreateV30RequestPromotionMaterialsImageMaterialListInnerImagesInner
 *
 * PromotionCreateV30RequestPromotionMaterialsImageMaterialListInnerImagesInner
 */
export interface PromotionCreateV30RequestPromotionMaterialsImageMaterialListInnerImagesInner {
  imageId?: null | string;
  templateDataList?: PromotionCreateV30RequestPromotionMaterialsImageMaterialListInnerImagesInnerTemplateDataListInner[] | null;
  templateId?: number | null;
  [property: string]: any;
}

/**
 *
 * com.bytedance.ads.model.PromotionCreateV30RequestPromotionMaterialsImageMaterialListInnerImagesInnerTemplateDataListInner
 *
 *
 * PromotionCreateV30RequestPromotionMaterialsImageMaterialListInnerImagesInnerTemplateDataListInner
 */
export interface PromotionCreateV30RequestPromotionMaterialsImageMaterialListInnerImagesInnerTemplateDataListInner {
  backgroundImageId?: null | string;
  [property: string]: any;
}

/**
 *
 * com.bytedance.ads.model.PromotionCreateV30RequestPromotionMaterialsVideoMaterialListInner
 *
 * PromotionCreateV30RequestPromotionMaterialsVideoMaterialListInner
 */
export interface PromotionCreateV30RequestPromotionMaterialsVideoMaterialListInner {
  guideVideoId?: null | string;
  imageMode?: VideoMaterialListImageMode;
  itemId?: number | null;
  videoCoverId?: null | string;
  videoHpVisibility?: VideoHpVisibility;
  videoId?: null | string;
  videoTaskIds?: string[] | null;
  videoTemplateType?: VideoTemplateType;
  [property: string]: any;
}

export enum VideoMaterialListImageMode {
  CalibrationFreeVideo = 'CALIBRATION_FREE_VIDEO',
  UnionSplashVideo = 'UNION_SPLASH_VIDEO',
  Video = 'VIDEO',
  VideoVertical = 'VIDEO_VERTICAL'
}

export enum VideoHpVisibility {
  AlwaysVisible = 'ALWAYS_VISIBLE',
  HideVideoOnHP = 'HIDE_VIDEO_ON_HP'
}

export enum VideoTemplateType {
  Custom = 'CUSTOM',
  Smart = 'SMART'
}

/**
 * 项目参数
 *
 * CreateProjectV3Request
 */
export interface CreateProjectV3Request {
  /**
   * 管家账号id
   */
  accountId?: number | null;
  /**
   * 广告类型，允许值：ALL 通投广告
   */
  adType?: AdType;
  /**
   * 广告主id
   */
  advertiserId?: number | null;
  /**
   * 用户定向
   * platform 投放平台列表，不传值为全选 允许值：ANDROID、IOS、HARMONY
   */
  audience?: ProjectCreateV30RequestAudience;
  /**
   * 投放模式
   * MANUAL手动投放(默认值）、PROCEDURAL自动投放
   */
  deliveryMode?: DeliveryMode;
  /**
   * 广告版位
   * inventoryCatalog 优化目标 UNIVERSAL_SMART: 通投智选
   */
  deliveryRange?: ProjectCreateV30RequestDeliveryRange;
  /**
   * 排期、预算、出价
   * scheduleType 投放时间类型，允许值：FROM_NOW 从今天起长期投放、START_END
   * 设置开始和结束日期、SCHEDULE_7_DAYS 7日稳投new
   * deepBidType 深度优化方式，当转化目标中含有深度转化时，该字段必填 DEEP_BID_MIN自定义手动出价 ROI_COEFFICIENT ROI系数出价
   * bidType 竞价策略  CUSTOM:稳定成本  NO_BID:最大转化投放
   * budgetMode 项目预算类型， BUDGET_MODE_DAY 日预算
   * budget 项目预算，单位为元 300
   * cpaBid 目标转化出价/预期成本 35
   * roiGoal ROI系数 1.1
   */
  deliverySetting?: ProjectCreateV30RequestDeliverySetting;
  /**
   * 推广目的- MICRO_GAME:小程序
   */
  landingType?: LandingType;
  /**
   * 营销场景，允许值：VIDEO_AND_IMAGE 短视频/图片
   */
  marketingGoal?: MarketingGoal;
  /**
   * 微信、字节小程序/小游戏资产id
   */
  microAppInstanceId?: number | null;
  /**
   * 小程序类型，仅当landing_type = MICRO_GAME 时有效且必填，允许值：
   *
   * WECHAT_GAME 微信小游戏
   *
   * WECHAT_APP微信小程序
   *
   * BYTE_GAME字节小游戏
   *
   * BYTE_APP字节小程序
   *
   * AWEME抖音号
   */
  microPromotionType?: MicroPromotionType;
  /**
   * 项目名称，长度是1-50个字（两个英文字符占1个字）
   */
  name?: null | string;
  /**
   * 优化目标
   * externalAction 优化目标 AD_CONVERT_TYPE_PAY:付费 。。。。
   * deepExternalAction 深度转化目标  AD_CONVERT_TYPE_PURCHASE_ROI：付费ROI ...
   */
  optimizeGoal?: ProjectCreateV30RequestOptimizeGoal;
  /**
   * 关联产品投放相关参数
   * productSetting :商品库设置 允许值：SINGLE 启用sDPA、NO_MAP不启用（默认值）、MULTI_PRODUCTS多品投放new
   * productPlatformId 商品库ID
   * productId 产品/商品ID
   */
  relatedProduct?: ProjectCreateV30RequestRelatedProduct;
  /**
   * 监测连接
   * actionTrackUrl 有效触点
   */
  trackUrlSetting?: ProjectCreateV30RequestTrackUrlSetting;
  [property: string]: any;
}

/**
 * 广告类型，允许值：ALL 通投广告
 */
export enum AdType {
  All = 'ALL',
  Search = 'SEARCH'
}

/**
 * 用户定向
 * platform 投放平台列表，不传值为全选 允许值：ANDROID、IOS、HARMONY
 *
 * ProjectCreateV30RequestAudience
 */
export interface ProjectCreateV30RequestAudience {
  ac?: Ac[] | null;
  actionCategories?: number[] | null;
  actionDays?: number | null;
  actionWords?: number[] | null;
  age?: string[] | null;
  androidOsv?: AndroidOsv;
  audiencePackageId?: number | null;
  autoExtendTargets?: AutoExtendTarget[] | null;
  awemeFanAccounts?: number[] | null;
  awemeFanBehaviors?: AwemeFanBehavior[] | null;
  awemeFanCategories?: number[] | null;
  awemeFanTimeScope?: AwemeFanTimeScope;
  carrier?: Carrier[] | null;
  carrierRegionOptimize?: CarrierRegionOptimize;
  city?: number[] | null;
  convertedTimeDuration?: ConvertedTimeDuration;
  deviceBrand?: DeviceBrand[] | null;
  deviceType?: DeviceType[] | null;
  district?: District;
  dpaCity?: CarrierRegionOptimize;
  dpaLbs?: CarrierRegionOptimize;
  dpaRtaRecommendType?: DpaRtaRecommendType;
  dpaRtaSwitch?: CarrierRegionOptimize;
  excludeFlowPackage?: number[] | null;
  filterAwemeAbnormalActive?: CarrierRegionOptimize;
  filterAwemeFansCount?: FilterAwemeFansCount;
  filterEvent?: FilterEvent[] | null;
  filterOwnAwemeFans?: CarrierRegionOptimize;
  flowPackage?: number[] | null;
  gender?: Gender;
  geolocation?: ProjectCreateV30RequestAudienceGeolocationInner[] | null;
  hideIfConverted?: HideIfConverted;
  hideIfExists?: HideIfExists;
  interestActionMode?: InterestActionMode;
  interestCategories?: number[] | null;
  interestWords?: number[] | null;
  iosOsv?: IosOsv;
  launchPrice?: number[] | null;
  locationType?: LocationType;
  platform?: Platform[] | null;
  regionRecommend?: CarrierRegionOptimize;
  regionVersion?: null | string;
  retargetingTagsExclude?: number[] | null;
  retargetingTagsInclude?: number[] | null;
  rtaId?: number | null;
  superiorPopularityType?: SuperiorPopularityType;
  [property: string]: any;
}

export enum Ac {
  Enum2G = 'Enum_2G',
  Enum3G = 'Enum_3G',
  Enum4G = 'Enum_4G',
  Enum5G = 'Enum_5G',
  Wifi = 'WIFI'
}

export enum AndroidOsv {
  Enum0_0 = 'Enum_0_0',
  Enum10_0 = 'Enum_10_0',
  Enum10_1 = 'Enum_10_1',
  Enum11_0 = 'Enum_11_0',
  Enum2_0 = 'Enum_2_0',
  Enum2_1 = 'Enum_2_1',
  Enum2_2 = 'Enum_2_2',
  Enum2_3 = 'Enum_2_3',
  Enum3_0 = 'Enum_3_0',
  Enum3_1 = 'Enum_3_1',
  Enum3_2 = 'Enum_3_2',
  Enum4_0 = 'Enum_4_0',
  Enum4_1 = 'Enum_4_1',
  Enum4_2 = 'Enum_4_2',
  Enum4_3 = 'Enum_4_3',
  Enum4_4 = 'Enum_4_4',
  Enum4_5 = 'Enum_4_5',
  Enum5_0 = 'Enum_5_0',
  Enum5_1 = 'Enum_5_1',
  Enum6_0 = 'Enum_6_0',
  Enum7_0 = 'Enum_7_0',
  Enum7_1 = 'Enum_7_1',
  Enum8_0 = 'Enum_8_0',
  Enum8_1 = 'Enum_8_1',
  Enum9_0 = 'Enum_9_0',
  None = 'NONE'
}

export enum AutoExtendTarget {
  AdTag = 'AD_TAG',
  Age = 'AGE',
  CustomAudience = 'CUSTOM_AUDIENCE',
  Gender = 'GENDER',
  InterestAction = 'INTEREST_ACTION',
  InterestTag = 'INTEREST_TAG',
  Region = 'REGION'
}

export enum AwemeFanBehavior {
  CommentedUser = 'COMMENTED_USER',
  FollowedUser = 'FOLLOWED_USER',
  GoodsCartsClick = 'GOODS_CARTS_CLICK',
  GoodsCartsOrder = 'GOODS_CARTS_ORDER',
  LikedUser = 'LIKED_USER',
  LiveComment = 'LIVE_COMMENT',
  LiveEffectiveWatch = 'LIVE_EFFECTIVE_WATCH',
  LiveExceptional = 'LIVE_EXCEPTIONAL',
  LiveGoodsClick = 'LIVE_GOODS_CLICK',
  LiveGoodsOrder = 'LIVE_GOODS_ORDER',
  LiveWatch = 'LIVE_WATCH',
  SharedUser = 'SHARED_USER'
}

export enum AwemeFanTimeScope {
  FifteenDays = 'FIFTEEN_DAYS',
  SixtyDays = 'SIXTY_DAYS',
  ThirtyDays = 'THIRTY_DAYS'
}

export enum Carrier {
  Mobile = 'MOBILE',
  Telcom = 'TELCOM',
  Unicom = 'UNICOM'
}

export enum CarrierRegionOptimize {
  Off = 'OFF',
  On = 'ON'
}

export enum ConvertedTimeDuration {
  None = 'NONE',
  OneMonth = 'ONE_MONTH',
  SevenDay = 'SEVEN_DAY',
  SixMonth = 'SIX_MONTH',
  ThreeMonth = 'THREE_MONTH',
  Today = 'TODAY',
  TwelveMonth = 'TWELVE_MONTH'
}

export enum DeviceBrand {
  Apple = 'APPLE',
  Chinamobile = 'CHINAMOBILE',
  Coolpad = 'COOLPAD',
  Enum360 = 'Enum_360',
  Gionee = 'GIONEE',
  Google = 'GOOGLE',
  HTC = 'HTC',
  Hisense = 'HISENSE',
  Honor = 'HONOR',
  Huawei = 'HUAWEI',
  Lenovo = 'LENOVO',
  Letv = 'LETV',
  Lg = 'LG',
  Meizu = 'MEIZU',
  Moto = 'MOTO',
  Nokia = 'NOKIA',
  Nubia = 'NUBIA',
  Oneplus = 'ONEPLUS',
  Oppo = 'OPPO',
  Pepper = 'PEPPER',
  Qiku = 'QIKU',
  Samsung = 'SAMSUNG',
  Smartisan = 'SMARTISAN',
  Sony = 'SONY',
  Tcl = 'TCL',
  Vivo = 'VIVO',
  Xiaomi = 'XIAOMI',
  Zte = 'ZTE'
}

export enum DeviceType {
  Mobile = 'MOBILE',
  Pad = 'PAD'
}

export enum District {
  BusinessDistrict = 'BUSINESS_DISTRICT',
  None = 'NONE',
  Oversea = 'OVERSEA',
  Region = 'REGION'
}

export enum DpaRtaRecommendType {
  More = 'MORE',
  Only = 'ONLY'
}

export enum FilterAwemeFansCount {
  Number1000 = 'NUMBER_1000',
  Number200 = 'NUMBER_200',
  Number500 = 'NUMBER_500'
}

export enum FilterEvent {
  ExternalAction = 'EXTERNAL_ACTION',
  TypeActive = 'TYPE_ACTIVE',
  TypeActiveRegister = 'TYPE_ACTIVE_REGISTER',
  TypePay = 'TYPE_PAY'
}

export enum Gender {
  GenderFemale = 'GENDER_FEMALE',
  GenderMale = 'GENDER_MALE',
  GenderUnlimited = 'GENDER_UNLIMITED',
  None = 'NONE'
}

/**
 * com.bytedance.ads.model.ProjectCreateV30RequestAudienceGeolocationInner
 *
 * ProjectCreateV30RequestAudienceGeolocationInner
 */
export interface ProjectCreateV30RequestAudienceGeolocationInner {
  _long?: number | null;
  lat?: number | null;
  long?: number | null;
  name?: null | string;
  radius?: number | null;
  [property: string]: any;
}

export enum HideIfConverted {
  Advertiser = 'ADVERTISER',
  App = 'APP',
  Customer = 'CUSTOMER',
  GlobalApp = 'GLOBAL_APP',
  NoExclude = 'NO_EXCLUDE',
  Organization = 'ORGANIZATION',
  Project = 'PROJECT',
  Promotion = 'PROMOTION'
}

export enum HideIfExists {
  Filter = 'FILTER',
  Targeting = 'TARGETING',
  Unlimited = 'UNLIMITED'
}

export enum InterestActionMode {
  Custom = 'CUSTOM',
  Recommend = 'RECOMMEND',
  Unlimited = 'UNLIMITED'
}

export enum IosOsv {
  Enum0_0 = 'Enum_0_0',
  Enum10_1 = 'Enum_10_1',
  Enum10_2 = 'Enum_10_2',
  Enum10_3 = 'Enum_10_3',
  Enum11_0 = 'Enum_11_0',
  Enum11_1 = 'Enum_11_1',
  Enum11_2 = 'Enum_11_2',
  Enum11_3 = 'Enum_11_3',
  Enum11_4 = 'Enum_11_4',
  Enum12_0 = 'Enum_12_0',
  Enum12_1 = 'Enum_12_1',
  Enum12_2 = 'Enum_12_2',
  Enum12_3 = 'Enum_12_3',
  Enum12_4 = 'Enum_12_4',
  Enum13_0 = 'Enum_13_0',
  Enum13_1 = 'Enum_13_1',
  Enum13_2 = 'Enum_13_2',
  Enum13_3 = 'Enum_13_3',
  Enum13_4 = 'Enum_13_4',
  Enum14_0 = 'Enum_14_0',
  Enum4_0 = 'Enum_4_0',
  Enum4_1 = 'Enum_4_1',
  Enum4_2 = 'Enum_4_2',
  Enum4_3 = 'Enum_4_3',
  Enum5_0 = 'Enum_5_0',
  Enum5_1 = 'Enum_5_1',
  Enum6_0 = 'Enum_6_0',
  Enum7_0 = 'Enum_7_0',
  Enum7_1 = 'Enum_7_1',
  Enum8_0 = 'Enum_8_0',
  Enum8_1 = 'Enum_8_1',
  Enum8_2 = 'Enum_8_2',
  Enum9_0 = 'Enum_9_0',
  Enum9_1 = 'Enum_9_1',
  Enum9_2 = 'Enum_9_2',
  Enum9_3 = 'Enum_9_3',
  None = 'NONE'
}

export enum LocationType {
  All = 'ALL',
  Current = 'CURRENT',
  Home = 'HOME',
  Travel = 'TRAVEL'
}

export enum Platform {
  Android = 'ANDROID',
  Ios = 'IOS'
}

export enum SuperiorPopularityType {
  Game = 'GAME',
  None = 'NONE'
}

/**
 * 投放模式
 * MANUAL手动投放(默认值）、PROCEDURAL自动投放
 */
export enum DeliveryMode {
  Manual = 'MANUAL',
  Procedural = 'PROCEDURAL'
}

/**
 * 广告版位
 * inventoryCatalog 优化目标 UNIVERSAL_SMART: 通投智选
 *
 * ProjectCreateV30RequestDeliveryRange
 */
export interface ProjectCreateV30RequestDeliveryRange {
  inventoryCatalog?: InventoryCatalog;
  inventoryType?: InventoryType[] | null;
  unionVideoType?: UnionVideoType;
  [property: string]: any;
}

export enum InventoryCatalog {
  Manual = 'MANUAL',
  UniversalSmart = 'UNIVERSAL_SMART'
}

export enum InventoryType {
  InventoryAwemeFeed = 'INVENTORY_AWEME_FEED',
  InventoryFeed = 'INVENTORY_FEED',
  InventoryHomedAggregate = 'INVENTORY_HOMED_AGGREGATE',
  InventoryHotsoonFeed = 'INVENTORY_HOTSOON_FEED',
  InventorySearch = 'INVENTORY_SEARCH',
  InventoryTomatoNovel = 'INVENTORY_TOMATO_NOVEL',
  InventoryUnionSlot = 'INVENTORY_UNION_SLOT',
  InventoryVideoFeed = 'INVENTORY_VIDEO_FEED',
  UnionBoutiqueGame = 'UNION_BOUTIQUE_GAME'
}

export enum UnionVideoType {
  OriginalVideo = 'ORIGINAL_VIDEO',
  RewardedVideo = 'REWARDED_VIDEO',
  SplashVideo = 'SPLASH_VIDEO'
}

/**
 * 排期、预算、出价
 * scheduleType 投放时间类型，允许值：FROM_NOW 从今天起长期投放、START_END
 * 设置开始和结束日期、SCHEDULE_7_DAYS 7日稳投new
 * deepBidType 深度优化方式，当转化目标中含有深度转化时，该字段必填 DEEP_BID_MIN自定义手动出价 ROI_COEFFICIENT ROI系数出价
 * bidType 竞价策略  CUSTOM:稳定成本  NO_BID:最大转化投放
 * budgetMode 项目预算类型， BUDGET_MODE_DAY 日预算
 * budget 项目预算，单位为元 300
 * cpaBid 目标转化出价/预期成本 35
 * roiGoal ROI系数 1.1
 *
 * ProjectCreateV30RequestDeliverySetting
 */
export interface ProjectCreateV30RequestDeliverySetting {
  bid?: number | null;
  bidType?: BidType;
  budget?: number | null;
  budgetMode?: BudgetMode;
  budgetOptimizeSwitch?: CarrierRegionOptimize;
  cpaBid?: number | null;
  deepBidType?: DeepBidType;
  deepCpabid?: number | null;
  endTime?: null | string;
  filterNightSwitch?: CarrierRegionOptimize;
  firstRoiGoal?: number | null;
  pricing?: Pricing;
  projectCustom?: CarrierRegionOptimize;
  roiGoal?: number | null;
  scheduleTime?: null | string;
  scheduleType?: ScheduleType;
  searchContinueDelivery?: CarrierRegionOptimize;
  shopMultiRoiGoals?: ProjectCreateV30RequestDeliverySettingShopMultiRoiGoalsInner[] | null;
  startTime?: null | string;
  [property: string]: any;
}

export enum BidType {
  Conservative = 'CONSERVATIVE',
  Custom = 'CUSTOM',
  ExploreUpgrade = 'EXPLORE_UPGRADE',
  NoBid = 'NO_BID',
  OptimalCost = 'OPTIMAL_COST',
  UpperControl = 'UPPER_CONTROL'
}

export enum BudgetMode {
  Day = 'DAY',
  Infinite = 'INFINITE',
  Total = 'TOTAL'
}

export enum DeepBidType {
  AliFL = 'ALI_FL',
  AutoMinSecondStage = 'AUTO_MIN_SECOND_STAGE',
  BidPerAction = 'BID_PER_ACTION',
  DeepBidDefault = 'DEEP_BID_DEFAULT',
  DeepBidMin = 'DEEP_BID_MIN',
  DeepBidPacing = 'DEEP_BID_PACING',
  DeepBidTypeRetentionDays = 'DEEP_BID_TYPE_RETENTION_DAYS',
  FirstAndSevenPayRoi = 'FIRST_AND_SEVEN_PAY_ROI',
  FormBid = 'FORM_BID',
  IaapRoi24HAnd7D = 'IAAP_ROI_24H_AND_7D',
  LoanRoi = 'LOAN_ROI',
  MinSecondStage = 'MIN_SECOND_STAGE',
  PacingSecondStage = 'PACING_SECOND_STAGE',
  PerAndSevenPayRoi = 'PER_AND_SEVEN_PAY_ROI',
  PhoneConnectBid = 'PHONE_CONNECT_BID',
  RoiCoefficient = 'ROI_COEFFICIENT',
  RoiDirectMail = 'ROI_DIRECT_MAIL',
  RoiPacing = 'ROI_PACING',
  Smartbid = 'SMARTBID',
  SocialRoi = 'SOCIAL_ROI'
}

export enum Pricing {
  Cpc = 'CPC',
  Cpm = 'CPM',
  Ocpc = 'OCPC',
  Ocpm = 'OCPM'
}

export enum ScheduleType {
  Enum7_DAYS = 'Enum_7_DAYS',
  FromNow = 'FROM_NOW',
  StartEnd = 'START_END'
}

/**
 * com.bytedance.ads.model.ProjectCreateV30RequestDeliverySettingShopMultiRoiGoalsInner
 *
 * ProjectCreateV30RequestDeliverySettingShopMultiRoiGoalsInner
 */
export interface ProjectCreateV30RequestDeliverySettingShopMultiRoiGoalsInner {
  roiGoal?: number | null;
  shopPlatform?: ShopPlatform;
  [property: string]: any;
}

export enum ShopPlatform {
  Jd = 'JD',
  Other = 'OTHER',
  Pdd = 'PDD',
  TB = 'TB'
}

/**
 * 推广目的- MICRO_GAME:小程序
 */
export enum LandingType {
  App = 'APP',
  Dpa = 'DPA',
  Link = 'LINK',
  MicroGame = 'MICRO_GAME',
  NativeAction = 'NATIVE_ACTION',
  QuickApp = 'QUICK_APP',
  Shop = 'SHOP'
}

/**
 * 营销场景，允许值：VIDEO_AND_IMAGE 短视频/图片
 */
export enum MarketingGoal {
  Live = 'LIVE',
  VideoAndImage = 'VIDEO_AND_IMAGE'
}

/**
 * 小程序类型，仅当landing_type = MICRO_GAME 时有效且必填，允许值：
 *
 * WECHAT_GAME 微信小游戏
 *
 * WECHAT_APP微信小程序
 *
 * BYTE_GAME字节小游戏
 *
 * BYTE_APP字节小程序
 *
 * AWEME抖音号
 */
export enum MicroPromotionType {
  Aweme = 'AWEME',
  ByteApp = 'BYTE_APP',
  ByteGame = 'BYTE_GAME',
  WechatApp = 'WECHAT_APP',
  WechatGame = 'WECHAT_GAME'
}

/**
 * 优化目标
 * externalAction 优化目标 AD_CONVERT_TYPE_PAY:付费 。。。。
 * deepExternalAction 深度转化目标  AD_CONVERT_TYPE_PURCHASE_ROI：付费ROI ...
 *
 * ProjectCreateV30RequestOptimizeGoal
 */
export interface ProjectCreateV30RequestOptimizeGoal {
  assetIds?: number[] | null;
  convertId?: number | null;
  deepExternalAction?: DeepExternalAction;
  externalAction?: string;
  gameAddictionId?: null | string;
  [property: string]: any;
}

export enum DeepExternalAction {
  PageView = 'PAGE_VIEW',
  PhoneConnect = 'PHONE_CONNECT',
  TypeActive = 'TYPE_ACTIVE',
  TypeActiveRegister = 'TYPE_ACTIVE_REGISTER',
  TypeAnchorClick = 'TYPE_ANCHOR_CLICK',
  TypeAppCart = 'TYPE_APP_CART',
  TypeAppDetailUv = 'TYPE_APP_DETAIL_UV',
  TypeAppOrder = 'TYPE_APP_ORDER',
  TypeAppPay = 'TYPE_APP_PAY',
  TypeAppUv = 'TYPE_APP_UV',
  TypeAppletClick = 'TYPE_APPLET_CLICK',
  TypeArpu0 = 'TYPE_ARPU0',
  TypeAuthorization = 'TYPE_AUTHORIZATION',
  TypeBankcardInformation = 'TYPE_BANKCARD_INFORMATION',
  TypeBoost = 'TYPE_BOOST',
  TypeButton = 'TYPE_BUTTON',
  TypeCertificationInformation = 'TYPE_CERTIFICATION_INFORMATION',
  TypeClass = 'TYPE_CLASS',
  TypeClickCallDy = 'TYPE_CLICK_CALL_DY',
  TypeClickDownload = 'TYPE_CLICK_DOWNLOAD',
  TypeClickLandingPage = 'TYPE_CLICK_LANDING_PAGE',
  TypeClickNum = 'TYPE_CLICK_NUM',
  TypeClickShopwindow = 'TYPE_CLICK_SHOPWINDOW',
  TypeClickWebsite = 'TYPE_CLICK_WEBSITE',
  TypeClueConfirm = 'TYPE_CLUE_CONFIRM',
  TypeClueHighIntention = 'TYPE_CLUE_HIGH_INTENTION',
  TypeClueInterflow = 'TYPE_CLUE_INTERFLOW',
  TypeCluePaySucceed = 'TYPE_CLUE_PAY_SUCCEED',
  TypeCommentAction = 'TYPE_COMMENT_ACTION',
  TypeCommodityClick = 'TYPE_COMMODITY_CLICK',
  TypeConsult = 'TYPE_CONSULT',
  TypeConsultClue = 'TYPE_CONSULT_CLUE',
  TypeConsultEffective = 'TYPE_CONSULT_EFFECTIVE',
  TypeCoupon = 'TYPE_COUPON',
  TypeCreateGamerole = 'TYPE_CREATE_GAMEROLE',
  TypeCustomerEffective = 'TYPE_CUSTOMER_EFFECTIVE',
  TypeDeepPurchase = 'TYPE_DEEP_PURCHASE',
  TypeDialback = 'TYPE_DIALBACK',
  TypeDialbackConfirm = 'TYPE_DIALBACK_CONFIRM',
  TypeDialbackConnect = 'TYPE_DIALBACK_CONNECT',
  TypeDownloadFinish = 'TYPE_DOWNLOAD_FINISH',
  TypeDownloadStart = 'TYPE_DOWNLOAD_START',
  TypeEffectiveCopy = 'TYPE_EFFECTIVE_COPY',
  TypeEffectivePlay = 'TYPE_EFFECTIVE_PLAY',
  TypeEnterHomepage = 'TYPE_ENTER_HOMEPAGE',
  TypeFeedLiveHomepage = 'TYPE_FEED_LIVE_HOMEPAGE',
  TypeFirstClass = 'TYPE_FIRST_CLASS',
  TypeFirstRentalOrder = 'TYPE_FIRST_RENTAL_ORDER',
  TypeFollowAction = 'TYPE_FOLLOW_ACTION',
  TypeFollowClickProduct = 'TYPE_FOLLOW_CLICK_PRODUCT',
  TypeFollowLiveEnter = 'TYPE_FOLLOW_LIVE_ENTER',
  TypeFollowVideoPlayFinish = 'TYPE_FOLLOW_VIDEO_PLAY_FINISH',
  TypeForm = 'TYPE_FORM',
  TypeFormAnswer = 'TYPE_FORM_ANSWER',
  TypeFormConnect = 'TYPE_FORM_CONNECT',
  TypeFormDeep = 'TYPE_FORM_DEEP',
  TypeFortuneSmallDeal = 'TYPE_FORTUNE_SMALL_DEAL',
  TypeGameAddiction = 'TYPE_GAME_ADDICTION',
  TypeHighValueClue = 'TYPE_HIGH_VALUE_CLUE',
  TypeIaapRoi = 'TYPE_IAAP_ROI',
  TypeIdcardInformation = 'TYPE_IDCARD_INFORMATION',
  TypeInappNextDayOpen = 'TYPE_INAPP_NEXT_DAY_OPEN',
  TypeInstallFinish = 'TYPE_INSTALL_FINISH',
  TypeIntelligentServiceOpen = 'TYPE_INTELLIGENT_SERVICE_OPEN',
  TypeIntentionClue = 'TYPE_INTENTION_CLUE',
  TypeInteraction = 'TYPE_INTERACTION',
  TypeInvalidClue = 'TYPE_INVALID_CLUE',
  TypeIpuQualify = 'TYPE_IPU_QUALIFY',
  TypeLikeAction = 'TYPE_LIKE_ACTION',
  TypeLinkAction = 'TYPE_LINK_ACTION',
  TypeLiveAppointment = 'TYPE_LIVE_APPOINTMENT',
  TypeLiveClickProductAction = 'TYPE_LIVE_CLICK_PRODUCT_ACTION',
  TypeLiveCommentAction = 'TYPE_LIVE_COMMENT_ACTION',
  TypeLiveComponentClick = 'TYPE_LIVE_COMPONENT_CLICK',
  TypeLiveEnterAction = 'TYPE_LIVE_ENTER_ACTION',
  TypeLiveFansAction = 'TYPE_LIVE_FANS_ACTION',
  TypeLiveFollowAciton = 'TYPE_LIVE_FOLLOW_ACITON',
  TypeLiveGiftAction = 'TYPE_LIVE_GIFT_ACTION',
  TypeLiveHomepage = 'TYPE_LIVE_HOMEPAGE',
  TypeLiveNativeAciton = 'TYPE_LIVE_NATIVE_ACITON',
  TypeLiveOtoClick = 'TYPE_LIVE_OTO_CLICK',
  TypeLiveOtoPay = 'TYPE_LIVE_OTO_PAY',
  TypeLiveOtoPayClick = 'TYPE_LIVE_OTO_PAY_CLICK',
  TypeLiveSlidecartClickAction = 'TYPE_LIVE_SLIDECART_CLICK_ACTION',
  TypeLiveStayTime = 'TYPE_LIVE_STAY_TIME',
  TypeLiveSuccessorderAction = 'TYPE_LIVE_SUCCESSORDER_ACTION',
  TypeLiveSuccessorderPay = 'TYPE_LIVE_SUCCESSORDER_PAY',
  TypeLoan = 'TYPE_LOAN',
  TypeLoanCompletion = 'TYPE_LOAN_COMPLETION',
  TypeLoanCredit = 'TYPE_LOAN_CREDIT',
  TypeLocationAction = 'TYPE_LOCATION_ACTION',
  TypeLottery = 'TYPE_LOTTERY',
  TypeLtRoi = 'TYPE_LT_ROI',
  TypeMapSearch = 'TYPE_MAP_SEARCH',
  TypeMessage = 'TYPE_MESSAGE',
  TypeMessageAction = 'TYPE_MESSAGE_ACTION',
  TypeMessageClick = 'TYPE_MESSAGE_CLICK',
  TypeMessageClue = 'TYPE_MESSAGE_CLUE',
  TypeMessageInteraction = 'TYPE_MESSAGE_INTERACTION',
  TypeMessageJoinGroup = 'TYPE_MESSAGE_JOIN_GROUP',
  TypeMessageOrderSuccess = 'TYPE_MESSAGE_ORDER_SUCCESS',
  TypeMessageService = 'TYPE_MESSAGE_SERVICE',
  TypeMultiple = 'TYPE_MULTIPLE',
  TypeNativeAction = 'TYPE_NATIVE_ACTION',
  TypeNewFollowAction = 'TYPE_NEW_FOLLOW_ACTION',
  TypeNextDayOpen = 'TYPE_NEXT_DAY_OPEN',
  TypeNotifyDownload = 'TYPE_NOTIFY_DOWNLOAD',
  TypeNotifyForm = 'TYPE_NOTIFY_FORM',
  TypeOther = 'TYPE_OTHER',
  TypeOtoPay = 'TYPE_OTO_PAY',
  TypeOtoStayTime = 'TYPE_OTO_STAY_TIME',
  TypePaidClue = 'TYPE_PAID_CLUE',
  TypePay = 'TYPE_PAY',
  TypePersonalInformation = 'TYPE_PERSONAL_INFORMATION',
  TypePhone = 'TYPE_PHONE',
  TypePhoneConfirm = 'TYPE_PHONE_CONFIRM',
  TypePhoneConnect = 'TYPE_PHONE_CONNECT',
  TypePhoneEffective = 'TYPE_PHONE_EFFECTIVE',
  TypePoiAddressClick = 'TYPE_POI_ADDRESS_CLICK',
  TypePoiCollect = 'TYPE_POI_COLLECT',
  TypePoiMultiple = 'TYPE_POI_MULTIPLE',
  TypePreLoanCredit = 'TYPE_PRE_LOAN_CREDIT',
  TypePremiumPayment = 'TYPE_PREMIUM_PAYMENT',
  TypePremiumRoi = 'TYPE_PREMIUM_ROI',
  TypePremiumUpgeade = 'TYPE_PREMIUM_UPGEADE',
  TypePurchaseOfGoods = 'TYPE_PURCHASE_OF_GOODS',
  TypePurchaseRoi = 'TYPE_PURCHASE_ROI',
  TypePurchaseRoi2D = 'TYPE_PURCHASE_ROI_2D',
  TypePurchaseRoi7D = 'TYPE_PURCHASE_ROI_7D',
  TypeQcFollowAction = 'TYPE_QC_FOLLOW_ACTION',
  TypeQcMustBuy = 'TYPE_QC_MUST_BUY',
  TypeQq = 'TYPE_QQ',
  TypeRSS = 'TYPE_RSS',
  TypeRedirect = 'TYPE_REDIRECT',
  TypeRedirectToShop = 'TYPE_REDIRECT_TO_SHOP',
  TypeRedirectToStore = 'TYPE_REDIRECT_TO_STORE',
  TypeReservation = 'TYPE_RESERVATION',
  TypeRetention7D = 'TYPE_RETENTION_7D',
  TypeRetentionDays = 'TYPE_RETENTION_DAYS',
  TypeSalesLead = 'TYPE_SALES_LEAD',
  TypeServiceWithdraw = 'TYPE_SERVICE_WITHDRAW',
  TypeShareAction = 'TYPE_SHARE_ACTION',
  TypeShopping = 'TYPE_SHOPPING',
  TypeShoppingAction = 'TYPE_SHOPPING_ACTION',
  TypeShoppingCart = 'TYPE_SHOPPING_CART',
  TypeShowOffNum = 'TYPE_SHOW_OFF_NUM',
  TypeStayTime = 'TYPE_STAY_TIME',
  TypeSubmitCertification = 'TYPE_SUBMIT_CERTIFICATION',
  TypeSuccessorderAction = 'TYPE_SUCCESSORDER_ACTION',
  TypeUgRoi = 'TYPE_UG_ROI',
  TypeUpdateLevel = 'TYPE_UPDATE_LEVEL',
  TypeView = 'TYPE_VIEW',
  TypeVote = 'TYPE_VOTE',
  TypeWechat = 'TYPE_WECHAT',
  TypeWechatFirstMsg = 'TYPE_WECHAT_FIRST_MSG',
  TypeWechatPay = 'TYPE_WECHAT_PAY',
  TypeWechatRegister = 'TYPE_WECHAT_REGISTER',
  TypeWechatWecomAdd = 'TYPE_WECHAT_WECOM_ADD',
  TypeXpath = 'TYPE_XPATH'
}

export enum ExternalAction {
  PageView = 'PAGE_VIEW',
  TypeActive = 'TYPE_ACTIVE',
  TypeActiveRegister = 'TYPE_ACTIVE_REGISTER',
  TypeAnchorClick = 'TYPE_ANCHOR_CLICK',
  TypeAppCart = 'TYPE_APP_CART',
  TypeAppDetailUv = 'TYPE_APP_DETAIL_UV',
  TypeAppOrder = 'TYPE_APP_ORDER',
  TypeAppPay = 'TYPE_APP_PAY',
  TypeAppUv = 'TYPE_APP_UV',
  TypeAppletClick = 'TYPE_APPLET_CLICK',
  TypeArpu0 = 'TYPE_ARPU0',
  TypeAuthorization = 'TYPE_AUTHORIZATION',
  TypeBankcardInformation = 'TYPE_BANKCARD_INFORMATION',
  TypeBoost = 'TYPE_BOOST',
  TypeButton = 'TYPE_BUTTON',
  TypeCertificationInformation = 'TYPE_CERTIFICATION_INFORMATION',
  TypeClass = 'TYPE_CLASS',
  TypeClickCallDy = 'TYPE_CLICK_CALL_DY',
  TypeClickDownload = 'TYPE_CLICK_DOWNLOAD',
  TypeClickLandingPage = 'TYPE_CLICK_LANDING_PAGE',
  TypeClickNum = 'TYPE_CLICK_NUM',
  TypeClickShopwindow = 'TYPE_CLICK_SHOPWINDOW',
  TypeClickWebsite = 'TYPE_CLICK_WEBSITE',
  TypeClueConfirm = 'TYPE_CLUE_CONFIRM',
  TypeClueHighIntention = 'TYPE_CLUE_HIGH_INTENTION',
  TypeCluePaySucceed = 'TYPE_CLUE_PAY_SUCCEED',
  TypeCommentAction = 'TYPE_COMMENT_ACTION',
  TypeCommodityClick = 'TYPE_COMMODITY_CLICK',
  TypeConsult = 'TYPE_CONSULT',
  TypeConsultClue = 'TYPE_CONSULT_CLUE',
  TypeConsultEffective = 'TYPE_CONSULT_EFFECTIVE',
  TypeCreateGamerole = 'TYPE_CREATE_GAMEROLE',
  TypeCustomerEffective = 'TYPE_CUSTOMER_EFFECTIVE',
  TypeDeepPurchase = 'TYPE_DEEP_PURCHASE',
  TypeDialback = 'TYPE_DIALBACK',
  TypeDialbackConfirm = 'TYPE_DIALBACK_CONFIRM',
  TypeDialbackConnect = 'TYPE_DIALBACK_CONNECT',
  TypeDownloadStart = 'TYPE_DOWNLOAD_START',
  TypeEffectiveActive = 'TYPE_EFFECTIVE_ACTIVE',
  TypeEffectiveCopy = 'TYPE_EFFECTIVE_COPY',
  TypeEffectivePlay = 'TYPE_EFFECTIVE_PLAY',
  TypeEnterHomepage = 'TYPE_ENTER_HOMEPAGE',
  TypeFeedLiveHomepage = 'TYPE_FEED_LIVE_HOMEPAGE',
  TypeFirstClass = 'TYPE_FIRST_CLASS',
  TypeFirstRentalOrder = 'TYPE_FIRST_RENTAL_ORDER',
  TypeFollowAction = 'TYPE_FOLLOW_ACTION',
  TypeFollowClickProduct = 'TYPE_FOLLOW_CLICK_PRODUCT',
  TypeFollowLiveEnter = 'TYPE_FOLLOW_LIVE_ENTER',
  TypeFollowVideoPlayFinish = 'TYPE_FOLLOW_VIDEO_PLAY_FINISH',
  TypeForm = 'TYPE_FORM',
  TypeFormAnswer = 'TYPE_FORM_ANSWER',
  TypeFormConnect = 'TYPE_FORM_CONNECT',
  TypeFormDeep = 'TYPE_FORM_DEEP',
  TypeGameAddiction = 'TYPE_GAME_ADDICTION',
  TypeHighValueClue = 'TYPE_HIGH_VALUE_CLUE',
  TypeIdcardInformation = 'TYPE_IDCARD_INFORMATION',
  TypeInappNextDayOpen = 'TYPE_INAPP_NEXT_DAY_OPEN',
  TypeInstallFinish = 'TYPE_INSTALL_FINISH',
  TypeIntelligentServiceOpen = 'TYPE_INTELLIGENT_SERVICE_OPEN',
  TypeIntentionClue = 'TYPE_INTENTION_CLUE',
  TypeIntentionForm = 'TYPE_INTENTION_FORM',
  TypeInteraction = 'TYPE_INTERACTION',
  TypeInvalidClue = 'TYPE_INVALID_CLUE',
  TypeIpuQualify = 'TYPE_IPU_QUALIFY',
  TypeLikeAction = 'TYPE_LIKE_ACTION',
  TypeLinkAction = 'TYPE_LINK_ACTION',
  TypeLiveClickProductAction = 'TYPE_LIVE_CLICK_PRODUCT_ACTION',
  TypeLiveCommentAction = 'TYPE_LIVE_COMMENT_ACTION',
  TypeLiveComponentClick = 'TYPE_LIVE_COMPONENT_CLICK',
  TypeLiveEnterAction = 'TYPE_LIVE_ENTER_ACTION',
  TypeLiveFansAction = 'TYPE_LIVE_FANS_ACTION',
  TypeLiveFollowAciton = 'TYPE_LIVE_FOLLOW_ACITON',
  TypeLiveHomepage = 'TYPE_LIVE_HOMEPAGE',
  TypeLiveJoinGroup = 'TYPE_LIVE_JOIN_GROUP',
  TypeLiveNativeAciton = 'TYPE_LIVE_NATIVE_ACITON',
  TypeLiveOtoClick = 'TYPE_LIVE_OTO_CLICK',
  TypeLiveOtoPay = 'TYPE_LIVE_OTO_PAY',
  TypeLiveOtoPayClick = 'TYPE_LIVE_OTO_PAY_CLICK',
  TypeLiveSlidecartClickAction = 'TYPE_LIVE_SLIDECART_CLICK_ACTION',
  TypeLiveStayTime = 'TYPE_LIVE_STAY_TIME',
  TypeLiveSuccessorderAction = 'TYPE_LIVE_SUCCESSORDER_ACTION',
  TypeLiveSuccessorderPay = 'TYPE_LIVE_SUCCESSORDER_PAY',
  TypeLoan = 'TYPE_LOAN',
  TypeLoanCompletion = 'TYPE_LOAN_COMPLETION',
  TypeLoanCredit = 'TYPE_LOAN_CREDIT',
  TypeLocationAction = 'TYPE_LOCATION_ACTION',
  TypeLottery = 'TYPE_LOTTERY',
  TypeLtRoi = 'TYPE_LT_ROI',
  TypeMapSearch = 'TYPE_MAP_SEARCH',
  TypeMessage = 'TYPE_MESSAGE',
  TypeMessageAction = 'TYPE_MESSAGE_ACTION',
  TypeMessageClick = 'TYPE_MESSAGE_CLICK',
  TypeMessageClue = 'TYPE_MESSAGE_CLUE',
  TypeMessageInteraction = 'TYPE_MESSAGE_INTERACTION',
  TypeMessageJoinGroup = 'TYPE_MESSAGE_JOIN_GROUP',
  TypeMessageOrderSuccess = 'TYPE_MESSAGE_ORDER_SUCCESS',
  TypeMessageService = 'TYPE_MESSAGE_SERVICE',
  TypeMultiple = 'TYPE_MULTIPLE',
  TypeNativeAction = 'TYPE_NATIVE_ACTION',
  TypeNewFollowAction = 'TYPE_NEW_FOLLOW_ACTION',
  TypeNextDayOpen = 'TYPE_NEXT_DAY_OPEN',
  TypeNotifyDownload = 'TYPE_NOTIFY_DOWNLOAD',
  TypeNotifyForm = 'TYPE_NOTIFY_FORM',
  TypeOther = 'TYPE_OTHER',
  TypeOtoPay = 'TYPE_OTO_PAY',
  TypeOtoStayTime = 'TYPE_OTO_STAY_TIME',
  TypePaidClue = 'TYPE_PAID_CLUE',
  TypePay = 'TYPE_PAY',
  TypePersonalInformation = 'TYPE_PERSONAL_INFORMATION',
  TypePhone = 'TYPE_PHONE',
  TypePhoneConfirm = 'TYPE_PHONE_CONFIRM',
  TypePhoneConnect = 'TYPE_PHONE_CONNECT',
  TypePhoneEffective = 'TYPE_PHONE_EFFECTIVE',
  TypePoiAddressClick = 'TYPE_POI_ADDRESS_CLICK',
  TypePoiCollect = 'TYPE_POI_COLLECT',
  TypePoiMultiple = 'TYPE_POI_MULTIPLE',
  TypePreLoanCredit = 'TYPE_PRE_LOAN_CREDIT',
  TypePremiumPayment = 'TYPE_PREMIUM_PAYMENT',
  TypePremiumRoi = 'TYPE_PREMIUM_ROI',
  TypePremiumUpgeade = 'TYPE_PREMIUM_UPGEADE',
  TypePurchaseOfGoods = 'TYPE_PURCHASE_OF_GOODS',
  TypePurchaseRoi = 'TYPE_PURCHASE_ROI',
  TypePurchaseRoi2D = 'TYPE_PURCHASE_ROI_2D',
  TypePurchaseRoi7D = 'TYPE_PURCHASE_ROI_7D',
  TypeQcFollowAction = 'TYPE_QC_FOLLOW_ACTION',
  TypeQcMustBuy = 'TYPE_QC_MUST_BUY',
  TypeQq = 'TYPE_QQ',
  TypeRSS = 'TYPE_RSS',
  TypeRedirect = 'TYPE_REDIRECT',
  TypeRedirectToShop = 'TYPE_REDIRECT_TO_SHOP',
  TypeRedirectToStore = 'TYPE_REDIRECT_TO_STORE',
  TypeReservation = 'TYPE_RESERVATION',
  TypeRetention7D = 'TYPE_RETENTION_7D',
  TypeRetentionDays = 'TYPE_RETENTION_DAYS',
  TypeSalesLead = 'TYPE_SALES_LEAD',
  TypeShareAction = 'TYPE_SHARE_ACTION',
  TypeShopping = 'TYPE_SHOPPING',
  TypeShoppingAction = 'TYPE_SHOPPING_ACTION',
  TypeShoppingCart = 'TYPE_SHOPPING_CART',
  TypeShowOffNum = 'TYPE_SHOW_OFF_NUM',
  TypeStayTime = 'TYPE_STAY_TIME',
  TypeSuccessorderAction = 'TYPE_SUCCESSORDER_ACTION',
  TypeUgRoi = 'TYPE_UG_ROI',
  TypeUpdateLevel = 'TYPE_UPDATE_LEVEL',
  TypeView = 'TYPE_VIEW',
  TypeVote = 'TYPE_VOTE',
  TypeWechat = 'TYPE_WECHAT',
  TypeWechatFirstMsg = 'TYPE_WECHAT_FIRST_MSG',
  TypeWechatPay = 'TYPE_WECHAT_PAY',
  TypeWechatQrcodeShow = 'TYPE_WECHAT_QRCODE_SHOW',
  TypeWechatQrcodeTry = 'TYPE_WECHAT_QRCODE_TRY',
  TypeWechatRegister = 'TYPE_WECHAT_REGISTER',
  TypeWechatWecomAdd = 'TYPE_WECHAT_WECOM_ADD',
  TypeXpath = 'TYPE_XPATH'
}

/**
 * 关联产品投放相关参数
 * productSetting :商品库设置 允许值：SINGLE 启用sDPA、NO_MAP不启用（默认值）、MULTI_PRODUCTS多品投放new
 * productPlatformId 商品库ID
 * productId 产品/商品ID
 *
 * ProjectCreateV30RequestRelatedProduct
 */
export interface ProjectCreateV30RequestRelatedProduct {
  productId?: null | string;
  productPlatformId?: number | null;
  products?: ProjectCreateV30RequestRelatedProductProductsInner[] | null;
  productSetting?: ProductSetting;
  uniqueProductId?: number | null;
  [property: string]: any;
}

export enum ProductSetting {
  MultiProducts = 'MULTI_PRODUCTS',
  NoMap = 'NO_MAP',
  Single = 'SINGLE'
}

/**
 * com.bytedance.ads.model.ProjectCreateV30RequestRelatedProductProductsInner
 *
 * ProjectCreateV30RequestRelatedProductProductsInner
 */
export interface ProjectCreateV30RequestRelatedProductProductsInner {
  assetId?: number | null;
  productId?: null | string;
  productPlatformId?: number | null;
  uniqueProductId?: number | null;
  [property: string]: any;
}

/**
 * 监测连接
 * actionTrackUrl 有效触点
 *
 * ProjectCreateV30RequestTrackUrlSetting
 */
export interface ProjectCreateV30RequestTrackUrlSetting {
  actionTrackUrl?: string[] | null;
  activeTrackUrl?: string[] | null;
  sendType?: SendType;
  trackUrl?: string[] | null;
  trackUrlGroupId?: number | null;
  trackUrlType?: TrackUrlType;
  videoPlayDoneTrackUrl?: string[] | null;
  videoPlayEffectiveTrackUrl?: string[] | null;
  videoPlayFirstTrackUrl?: string[] | null;
  [property: string]: any;
}

export enum SendType {
  ClientSend = 'CLIENT_SEND',
  ServerSend = 'SERVER_SEND'
}

export enum TrackUrlType {
  Custom = 'CUSTOM',
  GroupID = 'GROUP_ID'
}

/**
 * 广告参数
 *
 * CreatePromotionV3Request
 */
export interface CreatePromotionV3Request {
  /**
   * 管家账号id
   */
  accountId?: number | null;
  /**
   * 广告主id
   */
  advertiserId?: number | null;
  /**
   * is_comment_disable 广告评论，ON为启用，OFF为不启用
   */
  isCommentDisable?: null | string;
  /**
   * 广告名称，长度是1-50个字（两个英文字符占1个字）。名称不可重复，否则会报错
   */
  name?: null | string;
  /**
   * native_setting 原生广告设置{
   * aweme_id 单个授权抖音号id
   * anchor_related_type 原生锚点启用开关，允许值:不启用 OFF（默认值），自动生成 AUTO，手动选择 SELECT
   * }
   */
  nativeSetting?: PromotionCreateV30RequestNativeSetting;
  /**
   * 项目id
   */
  projectId?: number | null;
  /**
   * 广告素材组合  字段名称都是驼峰
   * video_material_list 视频素材信息
   * [{
   * image_mode 素材类型
   * video_id 视频ID
   * video_cover_id  视频封面图片ID
   * video_hp_visibility
   * }]
   *
   *
   * title_material_list 标题素材，上限10个
   * [{title 标题}]
   *
   *
   * external_url_material_list[] 落地页素材
   *
   * product_info 产品信息
   * titles[]  产品名称
   * image_ids[] 产品主图
   * selling_points[] 产品卖点
   * product_name_type 产品名称类型
   * product_image_type 产品主图类型
   * product_selling_point_type 产品卖点类型
   *
   *
   * call_to_action_buttons[]  行动号召文案，字数限制：[2-6]，数组上限为10
   *
   * anchor_material_list[{}] 原生锚点素材
   * anchor_type 锚点类型 APP_INTERNET_SERVICE
   * anchor_id 原生锚点id
   *
   *
   *
   * 请求示例json:{
   * "video_material_list":[{
   * "image_mode": "CREATIVE_IMAGE_MODE_VIDEO_VERTICAL",
   * "video_id": "v0d033g10000d12la8vog65vuc9perag",
   * "video_cover_id": "tos-cn-p-0051/oMAgxbVjA8UDVfNoN0VBAXO2VEIKEBFFuNFRfD",
   * "video_hp_visibility": "HIDE_VIDEO_ON_HP"
   * }],
   * "title_material_list":[
   * {
   * "title": "早知道后劲这么大！就不点开看了！内容太紧凑了"
   * },
   * {
   * "title": "这部剧太好看了！躺在被窝里看了20遍！实在是爽！"
   * },
   * {
   * "title": "全程高能反转短剧，打脸一波接着一波，力荐"
   * }
   * ],
   * "external_url_material_list": [
   * "https://www.chengzijianzhan.com/tetris/page/7512359216272326693"
   * ],
   * "product_info":{
   * "titles": [
   * "墨染芳华"
   * ],
   * "image_ids": [
   * "tos-cn-i-sd07hgqsbj/6568124244734fcdabeab24e95fb9934"
   * ],
   * "selling_points": [
   * "精彩短剧看不停",
   * "热播短剧在线观看",
   * "凌晨五点了还没睡"
   * ],
   * "product_name_type": "CUSTOM",
   * "product_image_type": "CUSTOM",
   * "product_selling_point_type": "CUSTOM",
   * "product_name_fields": [
   * ""
   * ],
   * "product_image_fields": [
   * ""
   * ],
   * "product_selling_point_fields": [
   * ""
   * ]
   * },
   * "call_to_action_buttons": [
   * "点我进入",
   * "进来看看"
   * ],
   * "source": "来源测试",
   * "native_setting":{
   * "aweme_id": "dsjc01",
   * "is_feed_and_fav_see": "OFF",
   * "anchor_related_type": "SELECT"
   * },
   * "is_comment_disable": "ON"
   * }
   */
  promotionMaterials?: PromotionCreateV30RequestPromotionMaterials;
  /**
   * source 来源
   */
  source?: null | string;
  [property: string]: any;
}

/**
 * native_setting 原生广告设置{
 * aweme_id 单个授权抖音号id
 * anchor_related_type 原生锚点启用开关，允许值:不启用 OFF（默认值），自动生成 AUTO，手动选择 SELECT
 * }
 *
 * PromotionCreateV30RequestNativeSetting
 */
export interface PromotionCreateV30RequestNativeSetting {
  anchorRelatedType?: AnchorRelatedType;
  awemeId?: null | string;
  awemeIds?: string[] | null;
  awemeSettingType?: AwemeSettingType;
  excludeAwemeIds?: string[] | null;
  isFeedAndFavSee?: CarrierRegionOptimize;
  [property: string]: any;
}

export enum AnchorRelatedType {
  Auto = 'AUTO',
  Off = 'OFF',
  Select = 'SELECT'
}

export enum AwemeSettingType {
  All = 'ALL',
  Multiple = 'MULTIPLE',
  Single = 'SINGLE'
}

/**
 * 广告素材组合  字段名称都是驼峰
 * video_material_list 视频素材信息
 * [{
 * image_mode 素材类型
 * video_id 视频ID
 * video_cover_id  视频封面图片ID
 * video_hp_visibility
 * }]
 *
 *
 * title_material_list 标题素材，上限10个
 * [{title 标题}]
 *
 *
 * external_url_material_list[] 落地页素材
 *
 * product_info 产品信息
 * titles[]  产品名称
 * image_ids[] 产品主图
 * selling_points[] 产品卖点
 * product_name_type 产品名称类型
 * product_image_type 产品主图类型
 * product_selling_point_type 产品卖点类型
 *
 *
 * call_to_action_buttons[]  行动号召文案，字数限制：[2-6]，数组上限为10
 *
 * anchor_material_list[{}] 原生锚点素材
 * anchor_type 锚点类型 APP_INTERNET_SERVICE
 * anchor_id 原生锚点id
 *
 *
 *
 * 请求示例json:{
 * "video_material_list":[{
 * "image_mode": "CREATIVE_IMAGE_MODE_VIDEO_VERTICAL",
 * "video_id": "v0d033g10000d12la8vog65vuc9perag",
 * "video_cover_id": "tos-cn-p-0051/oMAgxbVjA8UDVfNoN0VBAXO2VEIKEBFFuNFRfD",
 * "video_hp_visibility": "HIDE_VIDEO_ON_HP"
 * }],
 * "title_material_list":[
 * {
 * "title": "早知道后劲这么大！就不点开看了！内容太紧凑了"
 * },
 * {
 * "title": "这部剧太好看了！躺在被窝里看了20遍！实在是爽！"
 * },
 * {
 * "title": "全程高能反转短剧，打脸一波接着一波，力荐"
 * }
 * ],
 * "external_url_material_list": [
 * "https://www.chengzijianzhan.com/tetris/page/7512359216272326693"
 * ],
 * "product_info":{
 * "titles": [
 * "墨染芳华"
 * ],
 * "image_ids": [
 * "tos-cn-i-sd07hgqsbj/6568124244734fcdabeab24e95fb9934"
 * ],
 * "selling_points": [
 * "精彩短剧看不停",
 * "热播短剧在线观看",
 * "凌晨五点了还没睡"
 * ],
 * "product_name_type": "CUSTOM",
 * "product_image_type": "CUSTOM",
 * "product_selling_point_type": "CUSTOM",
 * "product_name_fields": [
 * ""
 * ],
 * "product_image_fields": [
 * ""
 * ],
 * "product_selling_point_fields": [
 * ""
 * ]
 * },
 * "call_to_action_buttons": [
 * "点我进入",
 * "进来看看"
 * ],
 * "source": "来源测试",
 * "native_setting":{
 * "aweme_id": "dsjc01",
 * "is_feed_and_fav_see": "OFF",
 * "anchor_related_type": "SELECT"
 * },
 * "is_comment_disable": "ON"
 * }
 *
 * PromotionCreateV30RequestPromotionMaterials
 */
export interface PromotionCreateV30RequestPromotionMaterials {
  advancedDcSettings?: AdvancedDcSetting[] | null;
  anchorMaterialList?: PromotionCreateV30RequestPromotionMaterialsAnchorMaterialListInner[] | null;
  blueFlowMaterialRecommend?: CarrierRegionOptimize;
  callToActionButtons?: string[] | null;
  carouselMaterialList?: PromotionCreateV30RequestPromotionMaterialsCarouselMaterialListInner[] | null;
  componentMaterialList?: PromotionCreateV30RequestPromotionMaterialsComponentMaterialListInner[] | null;
  decorationMaterial?: PromotionCreateV30RequestPromotionMaterialsDecorationMaterial;
  dynamicCreativeSwitch?: CarrierRegionOptimize;
  externalUrlField?: null | string;
  externalUrlMaterialList?: string[] | null;
  externalUrlParams?: null | string;
  imageMaterialList?: PromotionCreateV30RequestPromotionMaterialsImageMaterialListInner[] | null;
  intelligentGeneration?: CarrierRegionOptimize;
  miniProgramInfo?: PromotionCreateV30RequestPromotionMaterialsMiniProgramInfo;
  openUrl?: null | string;
  openUrlField?: null | string;
  openUrlParams?: null | string;
  openUrls?: string[] | null;
  openUrlType?: OpenUrlType;
  originalVideoTitle?: CarrierRegionOptimize;
  paramsType?: Type;
  playableUrlMaterialList?: string[] | null;
  playletSeriesUrlList?: string[] | null;
  productInfo?: PromotionCreateV30RequestPromotionMaterialsProductInfo;
  textAbstractList?: PromotionCreateV30RequestPromotionMaterialsTextAbstractListInner[] | null;
  titleMaterialList?: PromotionCreateV30RequestPromotionMaterialsTitleMaterialListInner[] | null;
  ulink?: null | string;
  videoMaterialList?: PromotionCreateV30RequestPromotionMaterialsVideoMaterialListInner[] | null;
  webUrlMaterialList?: string[] | null;
  [property: string]: any;
}

export enum AdvancedDcSetting {
  LandingPage = 'LANDING_PAGE',
  SearchResultsPage = 'SEARCH_RESULTS_PAGE'
}

/**
 *
 * com.bytedance.ads.model.PromotionCreateV30RequestPromotionMaterialsAnchorMaterialListInner
 *
 * PromotionCreateV30RequestPromotionMaterialsAnchorMaterialListInner
 */
export interface PromotionCreateV30RequestPromotionMaterialsAnchorMaterialListInner {
  anchorId?: null | string;
  anchorType?: AnchorType;
  [property: string]: any;
}

export enum AnchorType {
  AppGame = 'APP_GAME',
  AppInternetService = 'APP_INTERNET_SERVICE',
  AppShop = 'APP_SHOP',
  Insurance = 'INSURANCE',
  OnlineSubscribe = 'ONLINE_SUBSCRIBE',
  PrivateChat = 'PRIVATE_CHAT',
  ShoppingCart = 'SHOPPING_CART'
}

/**
 *
 * com.bytedance.ads.model.PromotionCreateV30RequestPromotionMaterialsCarouselMaterialListInner
 *
 * PromotionCreateV30RequestPromotionMaterialsCarouselMaterialListInner
 */
export interface PromotionCreateV30RequestPromotionMaterialsCarouselMaterialListInner {
  carouselId?: null | string;
  itemId?: number | null;
  videoHpVisibility?: VideoHpVisibility;
  [property: string]: any;
}

/**
 *
 * com.bytedance.ads.model.PromotionCreateV30RequestPromotionMaterialsComponentMaterialListInner
 *
 * PromotionCreateV30RequestPromotionMaterialsComponentMaterialListInner
 */
export interface PromotionCreateV30RequestPromotionMaterialsComponentMaterialListInner {
  componentId?: number | null;
  [property: string]: any;
}

/**
 * PromotionCreateV30RequestPromotionMaterialsDecorationMaterial
 */
export interface PromotionCreateV30RequestPromotionMaterialsDecorationMaterial {
  activityId?: null | string;
  imageMode?: DecorationMaterialImageMode;
  [property: string]: any;
}

export enum DecorationMaterialImageMode {
  CreativeImageModeDecorationCoupon = 'CREATIVE_IMAGE_MODE_DECORATION_COUPON'
}

/**
 * PromotionCreateV30RequestPromotionMaterialsMiniProgramInfo
 */
export interface PromotionCreateV30RequestPromotionMaterialsMiniProgramInfo {
  appId?: null | string;
  auto?: PromotionCreateV30RequestPromotionMaterialsMiniProgramInfoAutoInner[] | null;
  params?: null | string;
  startPath?: null | string;
  url?: null | string;
  urls?: string[] | null;
  [property: string]: any;
}

/**
 *
 * com.bytedance.ads.model.PromotionCreateV30RequestPromotionMaterialsMiniProgramInfoAutoInner
 *
 * PromotionCreateV30RequestPromotionMaterialsMiniProgramInfoAutoInner
 */
export interface PromotionCreateV30RequestPromotionMaterialsMiniProgramInfoAutoInner {
  appId?: null | string;
  params?: null | string;
  startPath?: null | string;
  [property: string]: any;
}

export enum OpenUrlType {
  Custom = 'CUSTOM',
  Dpa = 'DPA',
  None = 'NONE'
}

export enum Type {
  Custom = 'CUSTOM',
  Dpa = 'DPA'
}

/**
 * PromotionCreateV30RequestPromotionMaterialsProductInfo
 */
export interface PromotionCreateV30RequestPromotionMaterialsProductInfo {
  imageIds?: string[] | null;
  productImageFields?: string[] | null;
  productImageType?: Type;
  productNameFields?: string[] | null;
  productNameType?: Type;
  productSellingPointFields?: string[] | null;
  productSellingPointType?: Type;
  sellingPoints?: string[] | null;
  titles?: string[] | null;
  [property: string]: any;
}

/**
 * com.bytedance.ads.model.PromotionCreateV30RequestPromotionMaterialsTextAbstractListInner
 *
 * PromotionCreateV30RequestPromotionMaterialsTextAbstractListInner
 */
export interface PromotionCreateV30RequestPromotionMaterialsTextAbstractListInner {
  abstractText?: null | string;
  bidwordList?: PromotionCreateV30RequestPromotionMaterialsTextAbstractListInnerBidwordListInner[] | null;
  wordList?: number[] | null;
  [property: string]: any;
}

/**
 *
 * com.bytedance.ads.model.PromotionCreateV30RequestPromotionMaterialsTextAbstractListInnerBidwordListInner
 *
 * PromotionCreateV30RequestPromotionMaterialsTextAbstractListInnerBidwordListInner
 */
export interface PromotionCreateV30RequestPromotionMaterialsTextAbstractListInnerBidwordListInner {
  defaultWord?: null | string;
  [property: string]: any;
}

/**
 *
 * com.bytedance.ads.model.PromotionCreateV30RequestPromotionMaterialsTitleMaterialListInner
 *
 * PromotionCreateV30RequestPromotionMaterialsTitleMaterialListInner
 */
export interface PromotionCreateV30RequestPromotionMaterialsTitleMaterialListInner {
  bidwordList?: PromotionCreateV30RequestPromotionMaterialsTitleMaterialListInnerBidwordListInner[] | null;
  dpaWordList?: number[] | null;
  title?: null | string;
  wordList?: number[] | null;
  [property: string]: any;
}

/**
 *
 * com.bytedance.ads.model.PromotionCreateV30RequestPromotionMaterialsTitleMaterialListInnerBidwordListInner
 *
 * PromotionCreateV30RequestPromotionMaterialsTitleMaterialListInnerBidwordListInner
 */
export interface PromotionCreateV30RequestPromotionMaterialsTitleMaterialListInnerBidwordListInner {
  defaultWord?: null | string;
  [property: string]: any;
}

/**
 * CreatePromotionUrlQo
 */
export interface CreatePromotionUrlQo {
  /**
   * 广告主id
   */
  advertiserId?: number | null;
  /**
   * 备用网页链接
   */
  standbyUrl?: null | string;
  /**
   * 字节小程序调起链接
   */
  url?: null | string;
  [property: string]: any;
}












/**
 * com.bytedance.ads.model.ProjectListV30ResponseDataListInner
 *
 * ProjectListV30ResponseDataListInner
 */
export interface ProjectListV30ResponseDataListInner {
  adType?: AdType;
  advertiserId?: number | null;
  aigcDynamicCreativeSwitch?: AigcDynamicCreativeSwitch;
  appName?: null | string;
  appPromotionType?: AppPromotionType;
  assetType?: AssetType;
  audience?: ProjectListV30ResponseDataListInnerAudience;
  audienceExtend?: null | string;
  blueFlowPackage?: ProjectListV30ResponseDataListInnerBlueFlowPackage;
  budgetGroupId?: number | null;
  deliveryMedium?: DeliveryMedium;
  deliveryMode?: DeliveryMode;
  deliveryProduct?: DeliveryProduct;
  deliveryRange?: ProjectListV30ResponseDataListInnerDeliveryRange;
  deliverySetting?: ProjectListV30ResponseDataListInnerDeliverySetting;
  deliveryType?: DeliveryType;
  downloadMode?: DownloadMode;
  downloadType?: DownloadType;
  downloadUrl?: null | string;
  dpaAdtype?: DpaAdtype;
  dpaCategories?: number[] | null;
  dpaProductTarget?: ProjectListV30ResponseDataListInnerDpaProductTargetInner[] | null;
  feedDeliverySearch?: null | string;
  ifNewcustomerdelivery?: boolean | null;
  internalAdvertiserInfo?: ProjectListV30ResponseDataListInnerInternalAdvertiserInfo;
  keywords?: ProjectListV30ResponseDataListInnerKeywordsInner[] | null;
  landingPageStayTime?: LandingPageStayTime;
  landingType?: LandingType;
  launchType?: LaunchType;
  marketingGoal?: MarketingGoal;
  microAppInstanceId?: number | null;
  microPromotionType?: MicroPromotionType;
  multiAssetType?: Multi;
  multiDeliveryMedium?: Multi;
  name?: null | string;
  nativeSetting?: ProjectListV30ResponseDataListInnerNativeSetting;
  openUrl?: null | string;
  openUrlField?: null | string;
  openUrlParams?: null | string;
  openUrlType?: OpenUrlType;
  optimizeGoal?: ProjectListV30ResponseDataListInnerOptimizeGoal;
  optStatus?: OptStatus;
  packageName?: null | string;
  pricing?: Pricing;
  projectCreateTime?: null | string;
  projectId?: number | null;
  projectModifyTime?: null | string;
  promotionType?: PromotionType;
  quickAppId?: number | null;
  relatedProduct?: ProjectListV30ResponseDataListInnerRelatedProduct;
  searchBidRatio?: number | null;
  starAutoMaterialAdditionSwitch?: AigcDynamicCreativeSwitch;
  starTaskId?: number | null;
  starTaskVersion?: StarTaskVersion;
  status?: Status;
  statusFirst?: StatusFirst;
  statusSecond?: StatusSecond[] | null;
  subscribeUrl?: null | string;
  trackUrlSetting?: ProjectListV30ResponseDataListInnerTrackUrlSetting;
  ulinkUrl?: null | string;
  valueOptimizedType?: ValueOptimizedType;
  [property: string]: any;
}

export enum AdType {
  All = "ALL",
  Search = "SEARCH",
}

export enum AigcDynamicCreativeSwitch {
  Off = "OFF",
  On = "ON",
}

export enum AppPromotionType {
  Download = "DOWNLOAD",
  Launch = "LAUNCH",
  Reserve = "RESERVE",
}

export enum AssetType {
  Aweme = "AWEME",
  Enterprise = "ENTERPRISE",
  MicroApp = "MICRO_APP",
  Orange = "ORANGE",
  Thirdparty = "THIRDPARTY",
  WechatApplet = "WECHAT_APPLET",
}

/**
 * ProjectListV30ResponseDataListInnerAudience
 */
export interface ProjectListV30ResponseDataListInnerAudience {
  ac?: Ac[] | null;
  actionCategories?: number[] | null;
  actionDays?: number | null;
  actionScene?: ActionScene[] | null;
  actionWords?: number[] | null;
  activateType?: ActivateType[] | null;
  age?: string[] | null;
  androidOsv?: AndroidOsv;
  audiencePackageId?: number | null;
  autoExtendTargets?: AutoExtendTarget[] | null;
  awemeFanAccounts?: number[] | null;
  awemeFanBehaviors?: AwemeFanBehavior[] | null;
  awemeFanCategories?: number[] | null;
  awemeFanTimeScope?: AwemeFanTimeScope;
  career?: Career[] | null;
  carrier?: Carrier[] | null;
  carrierRegionOptimize?: AigcDynamicCreativeSwitch;
  city?: number[] | null;
  convertedTimeDuration?: ConvertedTimeDuration;
  deviceBrand?: DeviceBrand[] | null;
  deviceType?: DeviceType[] | null;
  district?: District;
  dpaCity?: AigcDynamicCreativeSwitch;
  dpaLbs?: AigcDynamicCreativeSwitch;
  dpaRtaRecommendType?: DpaRtaRecommendType;
  dpaRtaSwitch?: AigcDynamicCreativeSwitch;
  excludeFlowPackage?: number[] | null;
  filterAwemeAbnormalActive?: AigcDynamicCreativeSwitch;
  filterAwemeFansCount?: FilterAwemeFansCount;
  filterEvent?: FilterEvent[] | null;
  filterOwnAwemeFans?: AigcDynamicCreativeSwitch;
  flowPackage?: number[] | null;
  gender?: Gender;
  geolocation?: ProjectListV30ResponseDataListInnerAudienceGeolocationInner[] | null;
  hideIfConverted?: HideIfConverted;
  hideIfExists?: HideIfExists;
  interestActionMode?: InterestActionMode;
  interestCategories?: number[] | null;
  interestWords?: number[] | null;
  iosOsv?: IosOsv;
  launchPrice?: number[] | null;
  locationType?: LocationType;
  platform?: Platform[] | null;
  regionRecommend?: null | string;
  regionVersion?: null | string;
  retargetingTagsExclude?: number[] | null;
  retargetingTagsInclude?: number[] | null;
  superiorPopularityType?: SuperiorPopularityType;
  [property: string]: any;
}

export enum Ac {
  Enum2G = "Enum_2G",
  Enum3G = "Enum_3G",
  Enum4G = "Enum_4G",
  Enum5G = "Enum_5G",
  Wifi = "WIFI",
}

export enum ActionScene {
  Ad = "AD",
  App = "APP",
  ECommerce = "E_COMMERCE",
  News = "NEWS",
  Search = "SEARCH",
}

export enum ActivateType {
  OneMonth2_ThreeMonth = "ONE_MONTH_2_THREE_MONTH",
  ThreeMonthEailier = "THREE_MONTH_EAILIER",
  Unlimited = "UNLIMITED",
  WithInAMonth = "WITH_IN_A_MONTH",
}

export enum AndroidOsv {
  Enum10_0 = "Enum_10_0",
  Enum10_1 = "Enum_10_1",
  Enum11_0 = "Enum_11_0",
  Enum2_0 = "Enum_2_0",
  Enum2_1 = "Enum_2_1",
  Enum2_2 = "Enum_2_2",
  Enum2_3 = "Enum_2_3",
  Enum3_0 = "Enum_3_0",
  Enum3_1 = "Enum_3_1",
  Enum3_2 = "Enum_3_2",
  Enum4_0 = "Enum_4_0",
  Enum4_1 = "Enum_4_1",
  Enum4_2 = "Enum_4_2",
  Enum4_3 = "Enum_4_3",
  Enum4_4 = "Enum_4_4",
  Enum4_5 = "Enum_4_5",
  Enum5_0 = "Enum_5_0",
  Enum5_1 = "Enum_5_1",
  Enum6_0 = "Enum_6_0",
  Enum7_0 = "Enum_7_0",
  Enum7_1 = "Enum_7_1",
  Enum8_0 = "Enum_8_0",
  Enum8_1 = "Enum_8_1",
  Enum9_0 = "Enum_9_0",
  None = "NONE",
}

export enum AutoExtendTarget {
  AdTag = "AD_TAG",
  Age = "AGE",
  CustomAudience = "CUSTOM_AUDIENCE",
  Gender = "GENDER",
  InterestAction = "INTEREST_ACTION",
  InterestTag = "INTEREST_TAG",
  Region = "REGION",
}

export enum AwemeFanBehavior {
  CommentedUser = "COMMENTED_USER",
  FollowedUser = "FOLLOWED_USER",
  GoodsCartsClick = "GOODS_CARTS_CLICK",
  GoodsCartsOrder = "GOODS_CARTS_ORDER",
  LikedUser = "LIKED_USER",
  LiveComment = "LIVE_COMMENT",
  LiveEffectiveWatch = "LIVE_EFFECTIVE_WATCH",
  LiveExceptional = "LIVE_EXCEPTIONAL",
  LiveGoodsClick = "LIVE_GOODS_CLICK",
  LiveGoodsOrder = "LIVE_GOODS_ORDER",
  LiveWatch = "LIVE_WATCH",
  SharedUser = "SHARED_USER",
}

export enum AwemeFanTimeScope {
  FifteenDays = "FIFTEEN_DAYS",
  SixtyDays = "SIXTY_DAYS",
  ThirtyDays = "THIRTY_DAYS",
}

export enum Career {
  CivilServants = "CIVIL_SERVANTS",
  CollegeStudent = "COLLEGE_STUDENT",
  Financial = "FINANCIAL",
  It = "IT",
  MedicalStaff = "MEDICAL_STAFF",
  Teacher = "TEACHER",
}

export enum Carrier {
  Mobile = "MOBILE",
  Telcom = "TELCOM",
  Unicom = "UNICOM",
}

export enum ConvertedTimeDuration {
  None = "NONE",
  OneMonth = "ONE_MONTH",
  SevenDay = "SEVEN_DAY",
  SixMonth = "SIX_MONTH",
  ThreeMonth = "THREE_MONTH",
  Today = "TODAY",
  TwelveMonth = "TWELVE_MONTH",
}

export enum DeviceBrand {
  Apple = "APPLE",
  Chinamobile = "CHINAMOBILE",
  Coolpad = "COOLPAD",
  Enum360 = "Enum_360",
  Gionee = "GIONEE",
  Google = "GOOGLE",
  HTC = "HTC",
  Hisense = "HISENSE",
  Honor = "HONOR",
  Huawei = "HUAWEI",
  Lenovo = "LENOVO",
  Letv = "LETV",
  Lg = "LG",
  Meizu = "MEIZU",
  Moto = "MOTO",
  Nokia = "NOKIA",
  Nubia = "NUBIA",
  Oneplus = "ONEPLUS",
  Oppo = "OPPO",
  Pepper = "PEPPER",
  Qiku = "QIKU",
  Samsung = "SAMSUNG",
  Smartisan = "SMARTISAN",
  Sony = "SONY",
  Tcl = "TCL",
  Vivo = "VIVO",
  Xiaomi = "XIAOMI",
  Zte = "ZTE",
}

export enum DeviceType {
  Mobile = "MOBILE",
  Pad = "PAD",
}

export enum District {
  BusinessDistrict = "BUSINESS_DISTRICT",
  City = "CITY",
  County = "COUNTY",
  None = "NONE",
  Oversea = "OVERSEA",
  Region = "REGION",
}

export enum DpaRtaRecommendType {
  More = "MORE",
  Only = "ONLY",
}

export enum FilterAwemeFansCount {
  Number1000 = "NUMBER_1000",
  Number200 = "NUMBER_200",
  Number500 = "NUMBER_500",
}

export enum FilterEvent {
  ExternalAction = "EXTERNAL_ACTION",
  TypeActive = "TYPE_ACTIVE",
  TypeActiveRegister = "TYPE_ACTIVE_REGISTER",
  TypePay = "TYPE_PAY",
}

export enum Gender {
  GenderFemale = "GENDER_FEMALE",
  GenderMale = "GENDER_MALE",
  None = "NONE",
}

/**
 * com.bytedance.ads.model.ProjectListV30ResponseDataListInnerAudienceGeolocationInner
 *
 * ProjectListV30ResponseDataListInnerAudienceGeolocationInner
 */
export interface ProjectListV30ResponseDataListInnerAudienceGeolocationInner {
  _long?: number | null;
  lat?: number | null;
  long?: number | null;
  name?: null | string;
  radius?: number | null;
  [property: string]: any;
}

export enum HideIfConverted {
  Advertiser = "ADVERTISER",
  App = "APP",
  Customer = "CUSTOMER",
  NoExclude = "NO_EXCLUDE",
  Organization = "ORGANIZATION",
  Project = "PROJECT",
  Promotion = "PROMOTION",
}

export enum HideIfExists {
  Filter = "FILTER",
  Targeting = "TARGETING",
  Unlimited = "UNLIMITED",
}

export enum InterestActionMode {
  Custom = "CUSTOM",
  Recommend = "RECOMMEND",
  Unlimited = "UNLIMITED",
}

export enum IosOsv {
  Enum10_1 = "Enum_10_1",
  Enum10_2 = "Enum_10_2",
  Enum10_3 = "Enum_10_3",
  Enum11_0 = "Enum_11_0",
  Enum11_1 = "Enum_11_1",
  Enum11_2 = "Enum_11_2",
  Enum11_3 = "Enum_11_3",
  Enum11_4 = "Enum_11_4",
  Enum12_0 = "Enum_12_0",
  Enum12_1 = "Enum_12_1",
  Enum12_2 = "Enum_12_2",
  Enum12_3 = "Enum_12_3",
  Enum12_4 = "Enum_12_4",
  Enum13_0 = "Enum_13_0",
  Enum13_1 = "Enum_13_1",
  Enum13_2 = "Enum_13_2",
  Enum13_3 = "Enum_13_3",
  Enum13_4 = "Enum_13_4",
  Enum14_0 = "Enum_14_0",
  Enum4_0 = "Enum_4_0",
  Enum4_1 = "Enum_4_1",
  Enum4_2 = "Enum_4_2",
  Enum4_3 = "Enum_4_3",
  Enum5_0 = "Enum_5_0",
  Enum5_1 = "Enum_5_1",
  Enum6_0 = "Enum_6_0",
  Enum7_0 = "Enum_7_0",
  Enum7_1 = "Enum_7_1",
  Enum8_0 = "Enum_8_0",
  Enum8_1 = "Enum_8_1",
  Enum8_2 = "Enum_8_2",
  Enum9_0 = "Enum_9_0",
  Enum9_1 = "Enum_9_1",
  Enum9_2 = "Enum_9_2",
  Enum9_3 = "Enum_9_3",
  None = "NONE",
}

export enum LocationType {
  All = "ALL",
  Current = "CURRENT",
  Home = "HOME",
  Travel = "TRAVEL",
}

export enum Platform {
  Android = "ANDROID",
  Ios = "IOS",
  Ipad = "IPAD",
  None = "NONE",
  PC = "PC",
  WAP = "WAP",
}

export enum SuperiorPopularityType {
  Game = "GAME",
  None = "NONE",
}

/**
 * ProjectListV30ResponseDataListInnerBlueFlowPackage
 */
export interface ProjectListV30ResponseDataListInnerBlueFlowPackage {
  blueFlowPackageId?: number | null;
  blueFlowPackageSetting?: AigcDynamicCreativeSwitch;
  [property: string]: any;
}

export enum DeliveryMedium {
  App = "APP",
  Aweme = "AWEME",
  ByteApp = "BYTE_APP",
  ByteGame = "BYTE_GAME",
  Enterprise = "ENTERPRISE",
  LandingPageLink = "LANDING_PAGE_LINK",
  Orange = "ORANGE",
  Product = "PRODUCT",
  QuickApp = "QUICK_APP",
  Thirdparty = "THIRDPARTY",
  WechatApp = "WECHAT_APP",
  WechatGame = "WECHAT_GAME",
}

export enum DeliveryMode {
  Manual = "MANUAL",
  Procedural = "PROCEDURAL",
}

export enum DeliveryProduct {
  App = "APP",
  Aweme = "AWEME",
  ByteApp = "BYTE_APP",
  ByteGame = "BYTE_GAME",
  None = "NONE",
  Product = "PRODUCT",
  QuickApp = "QUICK_APP",
  WechatApp = "WECHAT_APP",
  WechatGame = "WECHAT_GAME",
}

/**
 * ProjectListV30ResponseDataListInnerDeliveryRange
 */
export interface ProjectListV30ResponseDataListInnerDeliveryRange {
  inventoryCatalog?: InventoryCatalog;
  inventoryType?: InventoryType[] | null;
  unionVideoType?: UnionVideoType;
  [property: string]: any;
}

export enum InventoryCatalog {
  Manual = "MANUAL",
  Scene = "SCENE",
  Smart = "SMART",
  Universal = "UNIVERSAL",
  UniversalSmart = "UNIVERSAL_SMART",
}

export enum InventoryType {
  InventoryAutomobile = "INVENTORY_AUTOMOBILE",
  InventoryAwemeFeed = "INVENTORY_AWEME_FEED",
  InventoryBeauty = "INVENTORY_BEAUTY",
  InventoryFaceU = "INVENTORY_FACE_U",
  InventoryFeed = "INVENTORY_FEED",
  InventoryHomedAggregate = "INVENTORY_HOMED_AGGREGATE",
  InventoryHotsoonFeed = "INVENTORY_HOTSOON_FEED",
  InventoryPipixia = "INVENTORY_PIPIXIA",
  InventorySearch = "INVENTORY_SEARCH",
  InventoryStudy = "INVENTORY_STUDY",
  InventoryTomatoNovel = "INVENTORY_TOMATO_NOVEL",
  InventoryUnionSlot = "INVENTORY_UNION_SLOT",
  InventoryUniversal = "INVENTORY_UNIVERSAL",
  InventoryVideoFeed = "INVENTORY_VIDEO_FEED",
  UnionBoutiqueGame = "UNION_BOUTIQUE_GAME",
}

export enum UnionVideoType {
  OriginalVideo = "ORIGINAL_VIDEO",
  RewardedVideo = "REWARDED_VIDEO",
  SplashVideo = "SPLASH_VIDEO",
}

/**
 * ProjectListV30ResponseDataListInnerDeliverySetting
 */
export interface ProjectListV30ResponseDataListInnerDeliverySetting {
  bid?: number | null;
  bidSpeed?: BidSpeed;
  bidType?: null | string;
  budget?: number | null;
  budgetMode?: BudgetMode;
  budgetOptimizeSwitch?: AigcDynamicCreativeSwitch;
  cpaBid?: number | null;
  deepBidType?: DeepBidType;
  deepCpabid?: number | null;
  endTime?: null | string;
  filterNightSwitch?: null | string;
  firstRoiGoal?: number | null;
  projectCustom?: AigcDynamicCreativeSwitch;
  roiGoal?: number | null;
  scheduleTime?: null | string;
  scheduleType?: ScheduleType;
  searchContinueDelivery?: AigcDynamicCreativeSwitch;
  shopMultiRoiGoals?: ProjectListV30ResponseDataListInnerDeliverySettingShopMultiRoiGoalsInner[] | null;
  startTime?: null | string;
  [property: string]: any;
}

export enum BidSpeed {
  Balance = "BALANCE",
  Fast = "FAST",
}

export enum BudgetMode {
  Day = "DAY",
  Infinite = "INFINITE",
  Total = "TOTAL",
}

export enum DeepBidType {
  AliFL = "ALI_FL",
  AutoMinSecondStage = "AUTO_MIN_SECOND_STAGE",
  BidPerAction = "BID_PER_ACTION",
  DeepBidDefault = "DEEP_BID_DEFAULT",
  DeepBidMin = "DEEP_BID_MIN",
  DeepBidPacing = "DEEP_BID_PACING",
  DeepBidTypeRetentionDays = "DEEP_BID_TYPE_RETENTION_DAYS",
  FirstAndSevenPayRoi = "FIRST_AND_SEVEN_PAY_ROI",
  FormBid = "FORM_BID",
  IaapRoi24HAnd7D = "IAAP_ROI_24H_AND_7D",
  LoanRoi = "LOAN_ROI",
  MinSecondStage = "MIN_SECOND_STAGE",
  PacingSecondStage = "PACING_SECOND_STAGE",
  PerAndSevenPayRoi = "PER_AND_SEVEN_PAY_ROI",
  PhoneConnectBid = "PHONE_CONNECT_BID",
  RoiCoefficient = "ROI_COEFFICIENT",
  RoiDirectMail = "ROI_DIRECT_MAIL",
  RoiPacing = "ROI_PACING",
  Smartbid = "SMARTBID",
  SocialRoi = "SOCIAL_ROI",
}

export enum ScheduleType {
  Enum7_DAYS = "Enum_7_DAYS",
  FromNow = "FROM_NOW",
  StartEnd = "START_END",
}

/**
 *
 * com.bytedance.ads.model.ProjectListV30ResponseDataListInnerDeliverySettingShopMultiRoiGoalsInner
 *
 * ProjectListV30ResponseDataListInnerDeliverySettingShopMultiRoiGoalsInner
 */
export interface ProjectListV30ResponseDataListInnerDeliverySettingShopMultiRoiGoalsInner {
  roiGoal?: number | null;
  shopPlatform?: ShopPlatform;
  [property: string]: any;
}

export enum ShopPlatform {
  Jd = "JD",
  Other = "OTHER",
  Pdd = "PDD",
  TB = "TB",
}

export enum DeliveryType {
  Duration = "DURATION",
  Normal = "NORMAL",
}

export enum DownloadMode {
  AppStoreDelivery = "APP_STORE_DELIVERY",
  Default = "DEFAULT",
}

export enum DownloadType {
  DownloadURL = "DOWNLOAD_URL",
  ExternalURL = "EXTERNAL_URL",
  QuickAppURL = "QUICK_APP_URL",
}

export enum DpaAdtype {
  App = "APP",
  Link = "LINK",
}

/**
 * com.bytedance.ads.model.ProjectListV30ResponseDataListInnerDpaProductTargetInner
 *
 * ProjectListV30ResponseDataListInnerDpaProductTargetInner
 */
export interface ProjectListV30ResponseDataListInnerDpaProductTargetInner {
  rule?: null | string;
  title?: null | string;
  type?: null | string;
  value?: null | string;
  [property: string]: any;
}

/**
 * ProjectListV30ResponseDataListInnerInternalAdvertiserInfo
 */
export interface ProjectListV30ResponseDataListInnerInternalAdvertiserInfo {
  advertisingVolume?: number | null;
  classify?: Classify;
  itemNumber?: null | string;
  [property: string]: any;
}

export enum Classify {
  Apportion = "APPORTION",
  Exchange = "EXCHANGE",
  Internal = "INTERNAL",
  Sale = "SALE",
  Supplement = "SUPPLEMENT",
}

/**
 * com.bytedance.ads.model.ProjectListV30ResponseDataListInnerKeywordsInner
 *
 * ProjectListV30ResponseDataListInnerKeywordsInner
 */
export interface ProjectListV30ResponseDataListInnerKeywordsInner {
  bidType?: BidType;
  matchType?: MatchType;
  word?: null | string;
  [property: string]: any;
}

export enum BidType {
  FeedToSearch = "FEED_TO_SEARCH",
}

export enum MatchType {
  Extensive = "EXTENSIVE",
  Phrase = "PHRASE",
  Precision = "PRECISION",
}

export enum LandingPageStayTime {
  Number1000 = "NUMBER_1000",
  Number12000 = "NUMBER_12000",
  Number20000 = "NUMBER_20000",
  Number30000 = "NUMBER_30000",
  Number40000 = "NUMBER_40000",
  Number5000 = "NUMBER_5000",
  Number50000 = "NUMBER_50000",
  Number60000 = "NUMBER_60000",
}

export enum LandingType {
  App = "APP",
  Article = "ARTICLE",
  BrandExternal = "BRAND_EXTERNAL",
  Dpa = "DPA",
  Goods = "GOODS",
  Link = "LINK",
  Live = "LIVE",
  MicroGame = "MICRO_GAME",
  NativeAction = "NATIVE_ACTION",
  QuickApp = "QUICK_APP",
  Shop = "SHOP",
  Store = "STORE",
}

export enum LaunchType {
  DirectOpen = "DIRECT_OPEN",
  ExternalOpen = "EXTERNAL_OPEN",
}

export enum MarketingGoal {
  Live = "LIVE",
  VideoAndImage = "VIDEO_AND_IMAGE",
}

export enum MicroPromotionType {
  Aweme = "AWEME",
  ByteApp = "BYTE_APP",
  ByteGame = "BYTE_GAME",
  WechatApp = "WECHAT_APP",
  WechatGame = "WECHAT_GAME",
}

export enum Multi {
  OrangeAndAweme = "ORANGE_AND_AWEME",
}

/**
 * ProjectListV30ResponseDataListInnerNativeSetting
 */
export interface ProjectListV30ResponseDataListInnerNativeSetting {
  awemeId?: null | string;
  [property: string]: any;
}

export enum OpenUrlType {
  Custom = "CUSTOM",
  Dpa = "DPA",
  None = "NONE",
}

export enum OptStatus {
  Disable = "DISABLE",
  Enable = "ENABLE",
}

/**
 * ProjectListV30ResponseDataListInnerOptimizeGoal
 */
export interface ProjectListV30ResponseDataListInnerOptimizeGoal {
  assetIds?: number[] | null;
  convertId?: number | null;
  deepExternalAction?: DeepExternalAction;
  externalAction?: ExternalAction;
  gameAddictionId?: null | string;
  paidSwitch?: number | null;
  [property: string]: any;
}

export enum DeepExternalAction {
  PageView = "PAGE_VIEW",
  PhoneConnect = "PHONE_CONNECT",
  TypeActive = "TYPE_ACTIVE",
  TypeActiveRegister = "TYPE_ACTIVE_REGISTER",
  TypeAnchorClick = "TYPE_ANCHOR_CLICK",
  TypeAppCart = "TYPE_APP_CART",
  TypeAppDetailUv = "TYPE_APP_DETAIL_UV",
  TypeAppOrder = "TYPE_APP_ORDER",
  TypeAppPay = "TYPE_APP_PAY",
  TypeAppUv = "TYPE_APP_UV",
  TypeAppletClick = "TYPE_APPLET_CLICK",
  TypeArpu0 = "TYPE_ARPU0",
  TypeAuthorization = "TYPE_AUTHORIZATION",
  TypeBankcardInformation = "TYPE_BANKCARD_INFORMATION",
  TypeBoost = "TYPE_BOOST",
  TypeButton = "TYPE_BUTTON",
  TypeCertificationInformation = "TYPE_CERTIFICATION_INFORMATION",
  TypeClass = "TYPE_CLASS",
  TypeClickCallDy = "TYPE_CLICK_CALL_DY",
  TypeClickDownload = "TYPE_CLICK_DOWNLOAD",
  TypeClickLandingPage = "TYPE_CLICK_LANDING_PAGE",
  TypeClickNum = "TYPE_CLICK_NUM",
  TypeClickShopwindow = "TYPE_CLICK_SHOPWINDOW",
  TypeClickWebsite = "TYPE_CLICK_WEBSITE",
  TypeClueConfirm = "TYPE_CLUE_CONFIRM",
  TypeClueHighIntention = "TYPE_CLUE_HIGH_INTENTION",
  TypeClueInterflow = "TYPE_CLUE_INTERFLOW",
  TypeCluePaySucceed = "TYPE_CLUE_PAY_SUCCEED",
  TypeCommentAction = "TYPE_COMMENT_ACTION",
  TypeCommodityClick = "TYPE_COMMODITY_CLICK",
  TypeConsult = "TYPE_CONSULT",
  TypeConsultClue = "TYPE_CONSULT_CLUE",
  TypeConsultEffective = "TYPE_CONSULT_EFFECTIVE",
  TypeCoupon = "TYPE_COUPON",
  TypeCreateGamerole = "TYPE_CREATE_GAMEROLE",
  TypeCustomerEffective = "TYPE_CUSTOMER_EFFECTIVE",
  TypeDeepPurchase = "TYPE_DEEP_PURCHASE",
  TypeDialback = "TYPE_DIALBACK",
  TypeDialbackConfirm = "TYPE_DIALBACK_CONFIRM",
  TypeDialbackConnect = "TYPE_DIALBACK_CONNECT",
  TypeDownloadFinish = "TYPE_DOWNLOAD_FINISH",
  TypeDownloadStart = "TYPE_DOWNLOAD_START",
  TypeEffectiveCopy = "TYPE_EFFECTIVE_COPY",
  TypeEffectivePlay = "TYPE_EFFECTIVE_PLAY",
  TypeEnterHomepage = "TYPE_ENTER_HOMEPAGE",
  TypeFeedLiveHomepage = "TYPE_FEED_LIVE_HOMEPAGE",
  TypeFirstClass = "TYPE_FIRST_CLASS",
  TypeFirstRentalOrder = "TYPE_FIRST_RENTAL_ORDER",
  TypeFollowAction = "TYPE_FOLLOW_ACTION",
  TypeFollowClickProduct = "TYPE_FOLLOW_CLICK_PRODUCT",
  TypeFollowLiveEnter = "TYPE_FOLLOW_LIVE_ENTER",
  TypeFollowVideoPlayFinish = "TYPE_FOLLOW_VIDEO_PLAY_FINISH",
  TypeForm = "TYPE_FORM",
  TypeFormAnswer = "TYPE_FORM_ANSWER",
  TypeFormConnect = "TYPE_FORM_CONNECT",
  TypeFormDeep = "TYPE_FORM_DEEP",
  TypeFortuneSmallDeal = "TYPE_FORTUNE_SMALL_DEAL",
  TypeGameAddiction = "TYPE_GAME_ADDICTION",
  TypeHighValueClue = "TYPE_HIGH_VALUE_CLUE",
  TypeIaapRoi = "TYPE_IAAP_ROI",
  TypeIdcardInformation = "TYPE_IDCARD_INFORMATION",
  TypeInappNextDayOpen = "TYPE_INAPP_NEXT_DAY_OPEN",
  TypeInstallFinish = "TYPE_INSTALL_FINISH",
  TypeIntelligentServiceOpen = "TYPE_INTELLIGENT_SERVICE_OPEN",
  TypeIntentionClue = "TYPE_INTENTION_CLUE",
  TypeInteraction = "TYPE_INTERACTION",
  TypeInvalidClue = "TYPE_INVALID_CLUE",
  TypeIpuQualify = "TYPE_IPU_QUALIFY",
  TypeLikeAction = "TYPE_LIKE_ACTION",
  TypeLinkAction = "TYPE_LINK_ACTION",
  TypeLiveAppointment = "TYPE_LIVE_APPOINTMENT",
  TypeLiveClickProductAction = "TYPE_LIVE_CLICK_PRODUCT_ACTION",
  TypeLiveCommentAction = "TYPE_LIVE_COMMENT_ACTION",
  TypeLiveComponentClick = "TYPE_LIVE_COMPONENT_CLICK",
  TypeLiveEnterAction = "TYPE_LIVE_ENTER_ACTION",
  TypeLiveFansAction = "TYPE_LIVE_FANS_ACTION",
  TypeLiveFollowAciton = "TYPE_LIVE_FOLLOW_ACITON",
  TypeLiveGiftAction = "TYPE_LIVE_GIFT_ACTION",
  TypeLiveHomepage = "TYPE_LIVE_HOMEPAGE",
  TypeLiveJoinGroup = "TYPE_LIVE_JOIN_GROUP",
  TypeLiveNativeAciton = "TYPE_LIVE_NATIVE_ACITON",
  TypeLiveOtoClick = "TYPE_LIVE_OTO_CLICK",
  TypeLiveOtoPay = "TYPE_LIVE_OTO_PAY",
  TypeLiveOtoPayClick = "TYPE_LIVE_OTO_PAY_CLICK",
  TypeLiveSlidecartClickAction = "TYPE_LIVE_SLIDECART_CLICK_ACTION",
  TypeLiveStayTime = "TYPE_LIVE_STAY_TIME",
  TypeLiveSuccessorderAction = "TYPE_LIVE_SUCCESSORDER_ACTION",
  TypeLiveSuccessorderPay = "TYPE_LIVE_SUCCESSORDER_PAY",
  TypeLoan = "TYPE_LOAN",
  TypeLoanCompletion = "TYPE_LOAN_COMPLETION",
  TypeLoanCredit = "TYPE_LOAN_CREDIT",
  TypeLocationAction = "TYPE_LOCATION_ACTION",
  TypeLottery = "TYPE_LOTTERY",
  TypeLtRoi = "TYPE_LT_ROI",
  TypeMapSearch = "TYPE_MAP_SEARCH",
  TypeMessage = "TYPE_MESSAGE",
  TypeMessageAction = "TYPE_MESSAGE_ACTION",
  TypeMessageClick = "TYPE_MESSAGE_CLICK",
  TypeMessageClue = "TYPE_MESSAGE_CLUE",
  TypeMessageInteraction = "TYPE_MESSAGE_INTERACTION",
  TypeMessageJoinGroup = "TYPE_MESSAGE_JOIN_GROUP",
  TypeMessageOrderSuccess = "TYPE_MESSAGE_ORDER_SUCCESS",
  TypeMessageService = "TYPE_MESSAGE_SERVICE",
  TypeMultiple = "TYPE_MULTIPLE",
  TypeNativeAction = "TYPE_NATIVE_ACTION",
  TypeNewFollowAction = "TYPE_NEW_FOLLOW_ACTION",
  TypeNextDayOpen = "TYPE_NEXT_DAY_OPEN",
  TypeNotifyDownload = "TYPE_NOTIFY_DOWNLOAD",
  TypeNotifyForm = "TYPE_NOTIFY_FORM",
  TypeOther = "TYPE_OTHER",
  TypeOtoPay = "TYPE_OTO_PAY",
  TypeOtoStayTime = "TYPE_OTO_STAY_TIME",
  TypePaidClue = "TYPE_PAID_CLUE",
  TypePay = "TYPE_PAY",
  TypePersonalInformation = "TYPE_PERSONAL_INFORMATION",
  TypePhone = "TYPE_PHONE",
  TypePhoneConfirm = "TYPE_PHONE_CONFIRM",
  TypePhoneConnect = "TYPE_PHONE_CONNECT",
  TypePhoneEffective = "TYPE_PHONE_EFFECTIVE",
  TypePoiAddressClick = "TYPE_POI_ADDRESS_CLICK",
  TypePoiCollect = "TYPE_POI_COLLECT",
  TypePoiMultiple = "TYPE_POI_MULTIPLE",
  TypePreLoanCredit = "TYPE_PRE_LOAN_CREDIT",
  TypePremiumPayment = "TYPE_PREMIUM_PAYMENT",
  TypePremiumRoi = "TYPE_PREMIUM_ROI",
  TypePremiumUpgeade = "TYPE_PREMIUM_UPGEADE",
  TypePurchaseOfGoods = "TYPE_PURCHASE_OF_GOODS",
  TypePurchaseRoi = "TYPE_PURCHASE_ROI",
  TypePurchaseRoi2D = "TYPE_PURCHASE_ROI_2D",
  TypePurchaseRoi7D = "TYPE_PURCHASE_ROI_7D",
  TypeQcFollowAction = "TYPE_QC_FOLLOW_ACTION",
  TypeQcMustBuy = "TYPE_QC_MUST_BUY",
  TypeQq = "TYPE_QQ",
  TypeRSS = "TYPE_RSS",
  TypeRedirect = "TYPE_REDIRECT",
  TypeRedirectToShop = "TYPE_REDIRECT_TO_SHOP",
  TypeRedirectToStore = "TYPE_REDIRECT_TO_STORE",
  TypeReservation = "TYPE_RESERVATION",
  TypeRetention7D = "TYPE_RETENTION_7D",
  TypeRetentionDays = "TYPE_RETENTION_DAYS",
  TypeSalesLead = "TYPE_SALES_LEAD",
  TypeServiceWithdraw = "TYPE_SERVICE_WITHDRAW",
  TypeShareAction = "TYPE_SHARE_ACTION",
  TypeShopping = "TYPE_SHOPPING",
  TypeShoppingAction = "TYPE_SHOPPING_ACTION",
  TypeShoppingCart = "TYPE_SHOPPING_CART",
  TypeShowOffNum = "TYPE_SHOW_OFF_NUM",
  TypeStayTime = "TYPE_STAY_TIME",
  TypeSubmitCertification = "TYPE_SUBMIT_CERTIFICATION",
  TypeSuccessorderAction = "TYPE_SUCCESSORDER_ACTION",
  TypeUgRoi = "TYPE_UG_ROI",
  TypeUpdateLevel = "TYPE_UPDATE_LEVEL",
  TypeView = "TYPE_VIEW",
  TypeVote = "TYPE_VOTE",
  TypeWechat = "TYPE_WECHAT",
  TypeWechatFirstMsg = "TYPE_WECHAT_FIRST_MSG",
  TypeWechatPay = "TYPE_WECHAT_PAY",
  TypeWechatQrcodeShow = "TYPE_WECHAT_QRCODE_SHOW",
  TypeWechatQrcodeTry = "TYPE_WECHAT_QRCODE_TRY",
  TypeWechatRegister = "TYPE_WECHAT_REGISTER",
  TypeWechatWecomAdd = "TYPE_WECHAT_WECOM_ADD",
  TypeXpath = "TYPE_XPATH",
}

export enum ExternalAction {
  PageView = "PAGE_VIEW",
  PhoneConnect = "PHONE_CONNECT",
  TypeActive = "TYPE_ACTIVE",
  TypeActiveRegister = "TYPE_ACTIVE_REGISTER",
  TypeAnchorClick = "TYPE_ANCHOR_CLICK",
  TypeAppCart = "TYPE_APP_CART",
  TypeAppDetailUv = "TYPE_APP_DETAIL_UV",
  TypeAppOrder = "TYPE_APP_ORDER",
  TypeAppPay = "TYPE_APP_PAY",
  TypeAppUv = "TYPE_APP_UV",
  TypeAppletClick = "TYPE_APPLET_CLICK",
  TypeArpu0 = "TYPE_ARPU0",
  TypeAuthorization = "TYPE_AUTHORIZATION",
  TypeBankcardInformation = "TYPE_BANKCARD_INFORMATION",
  TypeBoost = "TYPE_BOOST",
  TypeButton = "TYPE_BUTTON",
  TypeCertificationInformation = "TYPE_CERTIFICATION_INFORMATION",
  TypeClass = "TYPE_CLASS",
  TypeClickCallDy = "TYPE_CLICK_CALL_DY",
  TypeClickDownload = "TYPE_CLICK_DOWNLOAD",
  TypeClickLandingPage = "TYPE_CLICK_LANDING_PAGE",
  TypeClickNum = "TYPE_CLICK_NUM",
  TypeClickShopwindow = "TYPE_CLICK_SHOPWINDOW",
  TypeClickWebsite = "TYPE_CLICK_WEBSITE",
  TypeClueConfirm = "TYPE_CLUE_CONFIRM",
  TypeClueHighIntention = "TYPE_CLUE_HIGH_INTENTION",
  TypeClueInterflow = "TYPE_CLUE_INTERFLOW",
  TypeCluePaySucceed = "TYPE_CLUE_PAY_SUCCEED",
  TypeCommentAction = "TYPE_COMMENT_ACTION",
  TypeCommodityClick = "TYPE_COMMODITY_CLICK",
  TypeConsult = "TYPE_CONSULT",
  TypeConsultClue = "TYPE_CONSULT_CLUE",
  TypeConsultEffective = "TYPE_CONSULT_EFFECTIVE",
  TypeCoupon = "TYPE_COUPON",
  TypeCreateGamerole = "TYPE_CREATE_GAMEROLE",
  TypeCustomerEffective = "TYPE_CUSTOMER_EFFECTIVE",
  TypeDeepPurchase = "TYPE_DEEP_PURCHASE",
  TypeDialback = "TYPE_DIALBACK",
  TypeDialbackConfirm = "TYPE_DIALBACK_CONFIRM",
  TypeDialbackConnect = "TYPE_DIALBACK_CONNECT",
  TypeDownloadFinish = "TYPE_DOWNLOAD_FINISH",
  TypeDownloadStart = "TYPE_DOWNLOAD_START",
  TypeEffectiveActive = "TYPE_EFFECTIVE_ACTIVE",
  TypeEffectiveCopy = "TYPE_EFFECTIVE_COPY",
  TypeEffectivePlay = "TYPE_EFFECTIVE_PLAY",
  TypeEnterHomepage = "TYPE_ENTER_HOMEPAGE",
  TypeFeedLiveHomepage = "TYPE_FEED_LIVE_HOMEPAGE",
  TypeFirstClass = "TYPE_FIRST_CLASS",
  TypeFirstRentalOrder = "TYPE_FIRST_RENTAL_ORDER",
  TypeFollowAction = "TYPE_FOLLOW_ACTION",
  TypeFollowClickProduct = "TYPE_FOLLOW_CLICK_PRODUCT",
  TypeFollowLiveEnter = "TYPE_FOLLOW_LIVE_ENTER",
  TypeFollowVideoPlayFinish = "TYPE_FOLLOW_VIDEO_PLAY_FINISH",
  TypeForm = "TYPE_FORM",
  TypeFormAnswer = "TYPE_FORM_ANSWER",
  TypeFormConnect = "TYPE_FORM_CONNECT",
  TypeFormDeep = "TYPE_FORM_DEEP",
  TypeGameAddiction = "TYPE_GAME_ADDICTION",
  TypeGetIntentionClue = "TYPE_GET_INTENTION_CLUE",
  TypeHighValueClue = "TYPE_HIGH_VALUE_CLUE",
  TypeIdcardInformation = "TYPE_IDCARD_INFORMATION",
  TypeInappNextDayOpen = "TYPE_INAPP_NEXT_DAY_OPEN",
  TypeInstallFinish = "TYPE_INSTALL_FINISH",
  TypeIntelligentServiceOpen = "TYPE_INTELLIGENT_SERVICE_OPEN",
  TypeIntentionClue = "TYPE_INTENTION_CLUE",
  TypeIntentionForm = "TYPE_INTENTION_FORM",
  TypeInteraction = "TYPE_INTERACTION",
  TypeInvalidClue = "TYPE_INVALID_CLUE",
  TypeIpuQualify = "TYPE_IPU_QUALIFY",
  TypeLikeAction = "TYPE_LIKE_ACTION",
  TypeLinkAction = "TYPE_LINK_ACTION",
  TypeLiveAppointment = "TYPE_LIVE_APPOINTMENT",
  TypeLiveClickProductAction = "TYPE_LIVE_CLICK_PRODUCT_ACTION",
  TypeLiveCommentAction = "TYPE_LIVE_COMMENT_ACTION",
  TypeLiveComponentClick = "TYPE_LIVE_COMPONENT_CLICK",
  TypeLiveEnterAction = "TYPE_LIVE_ENTER_ACTION",
  TypeLiveFansAction = "TYPE_LIVE_FANS_ACTION",
  TypeLiveFollowAciton = "TYPE_LIVE_FOLLOW_ACITON",
  TypeLiveGiftAction = "TYPE_LIVE_GIFT_ACTION",
  TypeLiveHomepage = "TYPE_LIVE_HOMEPAGE",
  TypeLiveJoinGroup = "TYPE_LIVE_JOIN_GROUP",
  TypeLiveNativeAciton = "TYPE_LIVE_NATIVE_ACITON",
  TypeLiveOtoClick = "TYPE_LIVE_OTO_CLICK",
  TypeLiveOtoPay = "TYPE_LIVE_OTO_PAY",
  TypeLiveOtoPayClick = "TYPE_LIVE_OTO_PAY_CLICK",
  TypeLiveSlidecartClickAction = "TYPE_LIVE_SLIDECART_CLICK_ACTION",
  TypeLiveStayTime = "TYPE_LIVE_STAY_TIME",
  TypeLiveSuccessorderAction = "TYPE_LIVE_SUCCESSORDER_ACTION",
  TypeLiveSuccessorderPay = "TYPE_LIVE_SUCCESSORDER_PAY",
  TypeLoan = "TYPE_LOAN",
  TypeLoanCompletion = "TYPE_LOAN_COMPLETION",
  TypeLoanCredit = "TYPE_LOAN_CREDIT",
  TypeLocationAction = "TYPE_LOCATION_ACTION",
  TypeLottery = "TYPE_LOTTERY",
  TypeLtRoi = "TYPE_LT_ROI",
  TypeMapSearch = "TYPE_MAP_SEARCH",
  TypeMessage = "TYPE_MESSAGE",
  TypeMessageAction = "TYPE_MESSAGE_ACTION",
  TypeMessageClick = "TYPE_MESSAGE_CLICK",
  TypeMessageClue = "TYPE_MESSAGE_CLUE",
  TypeMessageInteraction = "TYPE_MESSAGE_INTERACTION",
  TypeMessageJoinGroup = "TYPE_MESSAGE_JOIN_GROUP",
  TypeMessageOrderSuccess = "TYPE_MESSAGE_ORDER_SUCCESS",
  TypeMessageService = "TYPE_MESSAGE_SERVICE",
  TypeMultiple = "TYPE_MULTIPLE",
  TypeNativeAction = "TYPE_NATIVE_ACTION",
  TypeNewFollowAction = "TYPE_NEW_FOLLOW_ACTION",
  TypeNextDayOpen = "TYPE_NEXT_DAY_OPEN",
  TypeNotifyDownload = "TYPE_NOTIFY_DOWNLOAD",
  TypeNotifyForm = "TYPE_NOTIFY_FORM",
  TypeOther = "TYPE_OTHER",
  TypeOtoPay = "TYPE_OTO_PAY",
  TypeOtoStayTime = "TYPE_OTO_STAY_TIME",
  TypePaidClue = "TYPE_PAID_CLUE",
  TypePay = "TYPE_PAY",
  TypePersonalInformation = "TYPE_PERSONAL_INFORMATION",
  TypePhone = "TYPE_PHONE",
  TypePhoneConfirm = "TYPE_PHONE_CONFIRM",
  TypePhoneConnect = "TYPE_PHONE_CONNECT",
  TypePhoneEffective = "TYPE_PHONE_EFFECTIVE",
  TypePoiAddressClick = "TYPE_POI_ADDRESS_CLICK",
  TypePoiCollect = "TYPE_POI_COLLECT",
  TypePoiMultiple = "TYPE_POI_MULTIPLE",
  TypePreLoanCredit = "TYPE_PRE_LOAN_CREDIT",
  TypePremiumPayment = "TYPE_PREMIUM_PAYMENT",
  TypePremiumRoi = "TYPE_PREMIUM_ROI",
  TypePremiumUpgeade = "TYPE_PREMIUM_UPGEADE",
  TypePurchaseOfGoods = "TYPE_PURCHASE_OF_GOODS",
  TypePurchaseRoi = "TYPE_PURCHASE_ROI",
  TypePurchaseRoi2D = "TYPE_PURCHASE_ROI_2D",
  TypePurchaseRoi7D = "TYPE_PURCHASE_ROI_7D",
  TypeQcFollowAction = "TYPE_QC_FOLLOW_ACTION",
  TypeQcMustBuy = "TYPE_QC_MUST_BUY",
  TypeQq = "TYPE_QQ",
  TypeRSS = "TYPE_RSS",
  TypeRedirect = "TYPE_REDIRECT",
  TypeRedirectToShop = "TYPE_REDIRECT_TO_SHOP",
  TypeRedirectToStore = "TYPE_REDIRECT_TO_STORE",
  TypeReservation = "TYPE_RESERVATION",
  TypeRetention7D = "TYPE_RETENTION_7D",
  TypeRetentionDays = "TYPE_RETENTION_DAYS",
  TypeSalesLead = "TYPE_SALES_LEAD",
  TypeShareAction = "TYPE_SHARE_ACTION",
  TypeShopping = "TYPE_SHOPPING",
  TypeShoppingAction = "TYPE_SHOPPING_ACTION",
  TypeShoppingCart = "TYPE_SHOPPING_CART",
  TypeShowOffNum = "TYPE_SHOW_OFF_NUM",
  TypeStayTime = "TYPE_STAY_TIME",
  TypeSubmitCertification = "TYPE_SUBMIT_CERTIFICATION",
  TypeSuccessorderAction = "TYPE_SUCCESSORDER_ACTION",
  TypeUgRoi = "TYPE_UG_ROI",
  TypeUpdateLevel = "TYPE_UPDATE_LEVEL",
  TypeView = "TYPE_VIEW",
  TypeVote = "TYPE_VOTE",
  TypeWechat = "TYPE_WECHAT",
  TypeWechatFirstMsg = "TYPE_WECHAT_FIRST_MSG",
  TypeWechatPay = "TYPE_WECHAT_PAY",
  TypeWechatQrcodeShow = "TYPE_WECHAT_QRCODE_SHOW",
  TypeWechatQrcodeTry = "TYPE_WECHAT_QRCODE_TRY",
  TypeWechatRegister = "TYPE_WECHAT_REGISTER",
  TypeWechatWecomAdd = "TYPE_WECHAT_WECOM_ADD",
  TypeXpath = "TYPE_XPATH",
}

export enum Pricing {
  Cpc = "CPC",
  Cpm = "CPM",
  Ocpc = "OCPC",
  Ocpm = "OCPM",
}

export enum PromotionType {
  AwemeHomePage = "AWEME_HOME_PAGE",
  LandingPageLink = "LANDING_PAGE_LINK",
}

/**
 * ProjectListV30ResponseDataListInnerRelatedProduct
 */
export interface ProjectListV30ResponseDataListInnerRelatedProduct {
  productId?: null | string;
  productPlatformId?: number | null;
  products?: ProjectListV30ResponseDataListInnerRelatedProductProductsInner[] | null;
  productSetting?: ProductSetting;
  uniqueProductId?: number | null;
  [property: string]: any;
}

export enum ProductSetting {
  MultiProducts = "MULTI_PRODUCTS",
  NoMap = "NO_MAP",
  Single = "SINGLE",
}

/**
 * com.bytedance.ads.model.ProjectListV30ResponseDataListInnerRelatedProductProductsInner
 *
 * ProjectListV30ResponseDataListInnerRelatedProductProductsInner
 */
export interface ProjectListV30ResponseDataListInnerRelatedProductProductsInner {
  assetId?: number | null;
  productId?: null | string;
  productPlatformId?: number | null;
  uniqueProductId?: number | null;
  [property: string]: any;
}

export enum StarTaskVersion {
  Ad = "AD",
  StarToBp = "STAR_TO_BP",
}

export enum Status {
  BudgetExceed = "BUDGET_EXCEED",
  BudgetPreOfflineBudget = "BUDGET_PRE_OFFLINE_BUDGET",
  Delete = "DELETE",
  Disable = "DISABLE",
  Done = "DONE",
  Enable = "ENABLE",
  NoSchedule = "NO_SCHEDULE",
  NotDelete = "NOT_DELETE",
  NotStart = "NOT_START",
}

export enum StatusFirst {
  Delete = "DELETE",
  Disable = "DISABLE",
  Done = "DONE",
  Enable = "ENABLE",
}

export enum StatusSecond {
  BudgetExceed = "BUDGET_EXCEED",
  NoSchedule = "NO_SCHEDULE",
  NotStart = "NOT_START",
  Stop = "STOP",
}

/**
 * ProjectListV30ResponseDataListInnerTrackUrlSetting
 */
export interface ProjectListV30ResponseDataListInnerTrackUrlSetting {
  actionTrackUrl?: string[] | null;
  activeTrackUrl?: string[] | null;
  sendType?: SendType;
  trackUrl?: string[] | null;
  trackUrlGroupId?: number | null;
  trackUrlType?: TrackUrlType;
  videoPlayDoneTrackUrl?: string[] | null;
  videoPlayEffectiveTrackUrl?: string[] | null;
  videoPlayFirstTrackUrl?: string[] | null;
  [property: string]: any;
}

export enum SendType {
  ClientSend = "CLIENT_SEND",
  ServerSend = "SERVER_SEND",
}

export enum TrackUrlType {
  Custom = "CUSTOM",
  GroupID = "GROUP_ID",
}

export enum ValueOptimizedType {
  Action = "ACTION",
  Off = "OFF",
  Value = "VALUE",
}

/**
 * TypeDto
 */
export interface TypeDto {
  /**
   * 类型描述
   */
  desc?: null | string;
  /**
   * 权限标识
   */
  flag?: boolean | null;
  /**
   * 类型值
   */
  type?: null | string;
  [property: string]: any;
}
